summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2009-03-18 08:56:57 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2009-03-18 08:56:57 +0000
commitb6b3226735f5e3b3fb000fa92daa7a574265c817 (patch)
tree51e4ba5944531f79557e8d3cb7a76a82cbac5dc9
parent6289d714226cceadfbf030ac7ba8bfb3032ef4e0 (diff)
zaptel.init: call xpp_sync a bit later
xpp_sync needs to only be called after ztcfg was run, because the application of zaptel.conf may change the priority of a PRI module span (If it is a sync provider, "NT", priority is lower). (From DAHDI rev 6167) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4629 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--zaptel.init6
1 files changed, 3 insertions, 3 deletions
diff --git a/zaptel.init b/zaptel.init
index 1677c38..aee83f7 100644
--- a/zaptel.init
+++ b/zaptel.init
@@ -87,9 +87,6 @@ xpp_startup() {
# when locales are missing.
# No register all the devices if they didn't auto-register:
LC_ALL=C zt_registration on
-
- # this one could actually be run after ztcfg:
- LC_ALL=C xpp_sync "$XPP_SYNC"
}
@@ -220,6 +217,9 @@ case "$1" in
$FXOTUNE -s || :
fi
+ # this one could actually be run after ztcfg:
+ LC_ALL=C xpp_sync "$XPP_SYNC"
+
hpec_start
;;
stop)