here is a example function from a debian init.d script show) if isrunning; then if [ $# -lt 2 ]; then echo "Insufficient parameters" exit 1 fi echo -n "$2=" doPC show $2 else echo "not running" fi ;; mrtg) if isrunning; then if [ $# -lt 2 ]; then echo "Insufficient parameters" exit 1 fi doPC show $2 if [ "$3x" != "x" ]; then doPC show $3 else echo 0 fi doPC uptime echo "$DESC" else echo "not running" fi ;; Reproducible: Always Steps to Reproduce: missing init.d functions