[svn-commits] seanbright: tools/trunk r5072 - /tools/trunk/dahdi.init

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Oct 9 13:27:08 CDT 2008


Author: seanbright
Date: Thu Oct  9 13:27:07 2008
New Revision: 5072

URL: http://svn.digium.com/view/dahdi?view=rev&rev=5072
Log:
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)

Modified:
    tools/trunk/dahdi.init

Modified: tools/trunk/dahdi.init
URL: http://svn.digium.com/view/dahdi/tools/trunk/dahdi.init?view=diff&rev=5072&r1=5071&r2=5072
==============================================================================
--- tools/trunk/dahdi.init (original)
+++ tools/trunk/dahdi.init Thu Oct  9 13:27:07 2008
@@ -242,8 +242,11 @@
 	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
 




More information about the svn-commits mailing list