diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-03-05 21:10:06 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-03-05 21:10:06 +0000 |
commit | 3fa3c5d8b6518f1ae2f3dbf41b0cdcf26e4e1a33 (patch) | |
tree | 643d9704386d80d780f9e6fc6b9148e38043fc7b /dahdi.init | |
parent | 785f09ad465932ff3b6ec23b472a141a01dd111a (diff) |
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
Diffstat (limited to 'dahdi.init')
-rwxr-xr-x | dahdi.init | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |