From 3fa3c5d8b6518f1ae2f3dbf41b0cdcf26e4e1a33 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Thu, 5 Mar 2009 21:10:06 +0000 Subject: 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) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6095 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- dahdi.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dahdi.init b/dahdi.init index ee7ebc9..4538901 100755 --- a/dahdi.init +++ b/dahdi.init @@ -143,7 +143,7 @@ hpec_start() { } 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 -- cgit v1.2.3