diff options
| author | Michael Biebl <biebl@debian.org> | 2008-08-22 19:40:18 +0000 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2008-08-22 19:40:18 +0000 |
| commit | 92143f880c0a11aed70296548429c5471b9e6921 (patch) | |
| tree | 2609852661d4097366841ea0c128bb9ecc852667 /debian | |
| parent | 03a9095412e1aaea4b202213d88c26f0ba63a38f (diff) | |
Add "status" action. Requires lsb-base (>= 3.2-14).
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/experimental/networkmanager@2406 ceb527fc-18e6-0310-9fe2-813c157c29e7
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/network-manager.init | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/network-manager.init b/debian/network-manager.init index 10fca34d..18797994 100644 --- a/debian/network-manager.init +++ b/debian/network-manager.init @@ -74,8 +74,11 @@ case "$1" in d_start log_end_msg $? ;; + status) + status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $? + ;; *) - echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 + echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac |