From 163bf39527c82edc314f6a26c4236d165057eeaa Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Thu, 9 Oct 2008 18:27:07 +0000 Subject: 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 --- dahdi.init | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dahdi.init') diff --git a/dahdi.init b/dahdi.init index e6b8608..03180b7 100755 --- a/dahdi.init +++ b/dahdi.init @@ -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 -- cgit v1.2.3