[zaptel-commits] tzafrir: branch tzafrir/sysfs r3315 - /team/tzafrir/sysfs/live_zap

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Tue Dec 4 19:23:13 CST 2007


Author: tzafrir
Date: Tue Dec  4 19:23:13 2007
New Revision: 3315

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3315
Log:
Some extra sleep is still needed on xpp_startup before waitfor_xpds
kicks in.

Modified:
    team/tzafrir/sysfs/live_zap

Modified: team/tzafrir/sysfs/live_zap
URL: http://svn.digium.com/view/zaptel/team/tzafrir/sysfs/live_zap?view=diff&rev=3315&r1=3314&r2=3315
==============================================================================
--- team/tzafrir/sysfs/live_zap (original)
+++ team/tzafrir/sysfs/live_zap Tue Dec  4 19:23:13 2007
@@ -23,6 +23,7 @@
 xpp_startup() {
 	# do nothing if there are no astribank devices:
 	if ! grep -q connected /proc/xpp/xbuses 2>/dev/null; then return 0; fi
+	sleep 1
 
 	echo "Waiting for Astribank devices to initialize:"
 	cat /proc/xpp/XBUS-[0-9]*/waitfor_xpds 2>/dev/null || true




More information about the zaptel-commits mailing list