summaryrefslogtreecommitdiff
path: root/zaptel.init
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-21 19:36:14 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-21 19:36:14 +0000
commit7ebdb0caddab40157088db99a53377d1457bb0bf (patch)
tree2a928f3eafbad5921db78a04236c9fc621be4986 /zaptel.init
parent001c57f2793fcd5fed438d8b580339766f25201c (diff)
fxotune must be run after ztcfg.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3070 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.init')
-rw-r--r--zaptel.init8
1 files changed, 4 insertions, 4 deletions
diff --git a/zaptel.init b/zaptel.init
index 3a18178..a1e7b74 100644
--- a/zaptel.init
+++ b/zaptel.init
@@ -195,10 +195,6 @@ case "$1" in
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"
@@ -210,6 +206,10 @@ case "$1" in
[ $RETVAL -eq 0 ] && touch $LOCKFILE
+ if [ -x "$FXOTUNE" ] && [ -r /etc/fxotune.conf ]; then
+ $FXOTUNE -s
+ fi
+
hpec_start
;;
stop)