mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-02 09:49:36 +01:00
adding status option for init.ubuntu
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user