diff --git a/init.ubuntu b/init.ubuntu index c5bbf6a5..5c525ff1 100755 --- a/init.ubuntu +++ b/init.ubuntu @@ -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