1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-08 23:04:19 +01:00

merged David Paleino's Debian init script that includes a status command

This commit is contained in:
Adam Blackburn
2009-06-20 10:33:23 -05:00

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