adding status option for init.ubuntu

This commit is contained in:
Chase Bolt
2014-01-19 20:07:38 -08:00
parent e879af6b0e
commit a7f34d8c90

View File

@@ -196,9 +196,12 @@ case "$1" in
stop_headphones
start_headphones
;;
status)
status_of_proc -p "$PID_FILE" "$DAEMON" "$DESC"
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload}" >&2
echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
exit 1
;;
esac