--- /sbin/runscript.sh.orig 2009-12-04 14:11:05.762121461 +0100 +++ /sbin/runscript.sh 2009-12-04 14:16:47.592496931 +0100 @@ -8,7 +8,10 @@ [[ ${RC_GOT_FUNCTIONS} != "yes" ]] && source /etc/init.d/functions.sh # User must be root to run most script stuff (except status) -if [[ ${EUID} != "0" ]] && [[ " $* " != " status " ]] ; then +if [[ ${EUID} != "0" ]] && ! [[ $2 == "status" && $# -eq 2 ]] && \ + ! [[ $2 == "--quiet" && $3 == "status" && $# -eq 3 ]] && \ + ! [[ $3 == "--quiet" && $2 == "status" && $# -eq 3 ]] \ + ; then eerror "$0: must be root to run init scripts" exit 1 fi