[svn-commits] tzafrir: tools/trunk r6095 - /tools/trunk/dahdi.init

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Mar 5 15:10:10 CST 2009


Author: tzafrir
Date: Thu Mar  5 15:10:06 2009
New Revision: 6095

URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=6095
Log:
Fix a typo in shutting down dynamic spans in dahdi.init

Fixes shutdown_dynamic() in the dahdi init.d script. Not enabling it 
by default just yet (the second half of the patch) until we get some
further confirmation that such a shutdown is always good.

(from issue #14603)
Reported by: tamiel
Patches:
      20090304_dahdi.init.patch uploaded by tamiel (license 712)

Modified:
    tools/trunk/dahdi.init

Modified: tools/trunk/dahdi.init
URL: http://svn.digium.com/svn-view/dahdi/tools/trunk/dahdi.init?view=diff&rev=6095&r1=6094&r2=6095
==============================================================================
--- tools/trunk/dahdi.init (original)
+++ tools/trunk/dahdi.init Thu Mar  5 15:10:06 2009
@@ -143,7 +143,7 @@
 }
 
 shutdown_dynamic() {
-	if ! grep -q ' ZTD/' /proc/* 2>/dev/null; then return; fi
+	if ! grep -q ' DYN/' /proc/dahdi/* 2>/dev/null; then return; fi
 
 	# we should only get here if we have dynamic spans. Right?
 	$DAHDI_CFG_CMD -s




More information about the svn-commits mailing list