diff options
Diffstat (limited to 'sdk/bin/rootsudo')
-rwxr-xr-x | sdk/bin/rootsudo | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sdk/bin/rootsudo b/sdk/bin/rootsudo new file mode 100755 index 0000000..3ff65f1 --- /dev/null +++ b/sdk/bin/rootsudo @@ -0,0 +1,6 @@ +#!/bin/sh +if [ -f /etc/sudo.conf ] ; then + sudo root $* +else + su root -c "$*" +fi |