8 lines
151 B
Bash
Executable file
8 lines
151 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ "$( id -u -n )" != "$( basename $0 )" ]
|
|
then
|
|
sudo -u $( basename $0 ) $0 $@
|
|
exit $?
|
|
fi
|
|
$( realpath -L $0|sed 's/\.wrapper$//' ) $@
|