diff options
author | Shaun Ruffell <sruffell@digium.com> | 2009-06-23 23:46:23 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2009-06-23 23:46:23 +0000 |
commit | 06df0855ebc6e2af09652eef50d0165353377ac7 (patch) | |
tree | 398df49dcaf44de73e36a7f86c0347525e813472 /dahdi.init | |
parent | 89d5444ffacce79eaf24a74678aa05cd67e10f62 (diff) |
Revert "dahdi.init: Define a default span configuration for digital cards."
This reverts commit r6708.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6710 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'dahdi.init')
-rwxr-xr-x | dahdi.init | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -200,16 +200,6 @@ case "$1" in modprobe dahdi_dummy 2> /dev/null fi - conf_file=/etc/dahdi/system.conf - temp_conf_file="" - if [ `dahdi_scan | grep "^type=" | sed -n 1p | grep "^type=digital"` ]; then - if [ "`cat $conf_file | grep "^span=1"`" = "" ]; then - temp_conf_file=`mktemp /tmp/tmp.dahdi_system_conf.XXX` - echo "span=1,1,0,esf,b8zs" > $temp_conf_file - DAHDI_CFG_CMD="$DAHDI_CFG -c $temp_conf_file" - fi - fi - if [ $system = debian ]; then echo -n "Running dahdi_cfg: " $DAHDI_CFG_CMD 2> /dev/null && echo -n "done" @@ -219,10 +209,6 @@ case "$1" in fi RETVAL=$? - if [ -f $temp_conf_file ]; then - rm $temp_conf_file; - fi - if [ "$LOCKFILE" != '' ]; then [ $RETVAL -eq 0 ] && touch $LOCKFILE fi |