1 2 3 4 5 6
#!/bin/sh if [[ "$UID" != "0" ]] ; then /usr/bin/pkexec /usr/sbin/draklive-install-lock-storage "$@" exit $? fi exec /usr/sbin/draklive-install-lock-storage "$@"