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