diff options
author | Sean Bright <sean@malleable.com> | 2008-10-09 18:27:07 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2008-10-09 18:27:07 +0000 |
commit | 163bf39527c82edc314f6a26c4236d165057eeaa (patch) | |
tree | 8c794a539e8759cefea68ffb2e56b7c987225a4d /dahdi.init | |
parent | 4638049260e6a39ee1db292ab4c2b206bcb88f64 (diff) |
Add a status command to the DAHDI init script.
(closes issue #13655)
Reported by: jcollie
Patches:
0001-Add-a-trivial-status-command-to-the-init-script.patch uploaded by jcollie (license 412)
(Slight modification by me to update the usage text)
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5072 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'dahdi.init')
-rwxr-xr-x | dahdi.init | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -242,8 +242,11 @@ case "$1" in fi RETVAL=$? ;; + status) + /usr/sbin/lsdahdi + ;; *) - echo "Usage: dahdi {start|stop|restart|reload|unload}" + echo "Usage: dahdi {start|stop|restart|status|reload|unload}" exit 1 esac |