From 7df390e30d9dfc1c86c797fac4648b14f736710a Mon Sep 17 00:00:00 2001 From: Jeffrey C. Ollie Date: Thu, 9 Oct 2008 13:15:24 -0500 Subject: [PATCH] Add a trivial status command to the init script. --- dahdi.init | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dahdi.init b/dahdi.init index e6b8608..1b2b60b 100755 --- a/dahdi.init +++ b/dahdi.init @@ -242,6 +242,9 @@ case "$1" in fi RETVAL=$? ;; + status) + /usr/sbin/lsdahdi + ;; *) echo "Usage: dahdi {start|stop|restart|reload|unload}" exit 1 -- 1.5.5.2