From b6b3226735f5e3b3fb000fa92daa7a574265c817 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Wed, 18 Mar 2009 08:56:57 +0000 Subject: 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 --- zaptel.init | 6 +++--- 1 file 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) -- cgit v1.2.3