[zaptel-commits] tzafrir: branch 1.4 r3070 - /branches/1.4/zaptel.init

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Fri Sep 21 14:36:15 CDT 2007


Author: tzafrir
Date: Fri Sep 21 14:36:14 2007
New Revision: 3070

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3070
Log:
fxotune must be run after ztcfg.

Modified:
    branches/1.4/zaptel.init

Modified: branches/1.4/zaptel.init
URL: http://svn.digium.com/view/zaptel/branches/1.4/zaptel.init?view=diff&rev=3070&r1=3069&r2=3070
==============================================================================
--- branches/1.4/zaptel.init (original)
+++ branches/1.4/zaptel.init Fri Sep 21 14:36:14 2007
@@ -195,10 +195,6 @@
 		modprobe ztdummy 2> /dev/null
 	fi
 
-	if [ -x "$FXOTUNE" ] && [ -r /etc/fxotune.conf ]; then
-		$FXOTUNE -s
-	fi
-
 	if [ $system = debian ]; then
 	    echo -n "Running ztcfg: " 
 	    $ZTCFG_CMD 2> /dev/null && echo -n "done"
@@ -209,6 +205,10 @@
 	RETVAL=$?
 
 	[ $RETVAL -eq 0 ] && touch $LOCKFILE
+
+	if [ -x "$FXOTUNE" ] && [ -r /etc/fxotune.conf ]; then
+		$FXOTUNE -s
+	fi
 
 	hpec_start
 	;;




More information about the zaptel-commits mailing list