From 51c06791324573a771799dd3f39efa8fb72516d9 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Mon, 16 Mar 2009 15:01:14 +0000 Subject: dahdi.init: call xpp_sync a bit later. xpp_sync needs to only be called after dahdi_cfg was run, because the application of system.conf may change the priority of a PRI module span (If it is a sync provider, "NT", priority is lower). Also some documentation-only changes for xpp_sync. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6167 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- dahdi.init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dahdi.init') diff --git a/dahdi.init b/dahdi.init index 4538901..6ae1e3d 100755 --- a/dahdi.init +++ b/dahdi.init @@ -97,9 +97,6 @@ xpp_startup() { # when locales are missing. # No register all the devices if they didn't auto-register: LC_ALL=C dahdi_registration on - - # this one could actually be run after dahdi_cfg: - LC_ALL=C xpp_sync "$XPP_SYNC" } @@ -223,6 +220,9 @@ case "$1" in $FXOTUNE -s || : fi + # Set the right Astribanks ticker: + LC_ALL=C xpp_sync "$XPP_SYNC" + hpec_start ;; stop) -- cgit v1.2.3