[Pkg-voip-commits] [dahdi-tools] 216/285: xpp: waitfor_xpds: Always remove Astribank semaphore

tzafrir at debian.org tzafrir at debian.org
Thu Jul 7 19:19:00 UTC 2016


This is an automated email from the git hooks/post-receive script.

tzafrir pushed a commit to branch master
in repository dahdi-tools.

commit 631d32680fe1dbb257916ee3a0cb2baea3062c19
Author: Oron Peled <oron.peled at xorcom.com>
Date:   Tue Oct 28 13:56:10 2014 -0400

    xpp: waitfor_xpds: Always remove Astribank semaphore
    
    If we waited -- no Astribanks are "in initialization"
    
    Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
---
 xpp/waitfor_xpds | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/xpp/waitfor_xpds b/xpp/waitfor_xpds
index 2d08013..fa7ab4f 100755
--- a/xpp/waitfor_xpds
+++ b/xpp/waitfor_xpds
@@ -154,7 +154,6 @@ if [ "$XPP_HOTPLUG_DAHDI" = yes ]; then
 		echo -n 1>&2 "Other DAHDI initializations... "
 		astribank_is_starting -v -w 1>&2
 	fi
-else
-	# Non-hotplug -- Sequential initialization, remove semaphore
-	astribank_is_starting -v -r 1>&2
 fi
+# All Astribanks initialized -- remove semaphore
+astribank_is_starting -v -r 1>&2

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git



More information about the Pkg-voip-commits mailing list