1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-29 20:05:45 +01:00

Add "status" to /etc/init.d/wicd (Debian/Ubuntu)

This commit is contained in:
David Paleino
2009-06-16 17:56:21 +02:00
parent 73a08c5c55
commit 99fd8ee4d4

View File

@@ -153,9 +153,12 @@ case "$1" in
;; ;;
esac esac
;; ;;
status)
status_of_proc -p $PIDFILE $DAEMON $NAME
;;
*) *)
#echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&2
exit 3 exit 3
;; ;;
esac esac