Autosvc
This commit is contained in:
parent
96751acaab
commit
eeb061a032
4 changed files with 167 additions and 1 deletions
|
@ -3,4 +3,9 @@
|
|||
# Substitution for sudo
|
||||
#
|
||||
|
||||
echo "$@" | tsu
|
||||
if [ "$(whoami)" != 'root' ]
|
||||
then
|
||||
echo "$@" | tsu
|
||||
else
|
||||
"$@"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue