[zaptel-commits] tzafrir: branch 1.4 r2911 - in /branches/1.4: ./ zaptel.init
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Mon Aug 20 08:29:26 CDT 2007
Author: tzafrir
Date: Mon Aug 20 08:29:25 2007
New Revision: 2911
URL: http://svn.digium.com/view/zaptel?view=rev&rev=2911
Log:
* Set maximal zaptel udev timeout to 20 seconds.
* Allow overriding it from cwrcconfconfig file (and explain how).
(From trunk r2909 - got accidentally commited there first).
Merged revisions 2910 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
Modified:
branches/1.4/ (props changed)
branches/1.4/zaptel.init
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/zaptel.init
URL: http://svn.digium.com/view/zaptel/branches/1.4/zaptel.init?view=diff&rev=2911&r1=2910&r2=2911
==============================================================================
--- branches/1.4/zaptel.init (original)
+++ branches/1.4/zaptel.init Mon Aug 20 08:29:25 2007
@@ -10,8 +10,18 @@
initdir=/etc/init.d
+# Don't edit the following values. Edit /etc/sysconfig/zaptel or
+# /etc/defualt/zaptel (depending on your system) instead.
+
ZTCFG=/sbin/ztcfg
+# The default syncer Astribank. Usually set automatically to a sane
+# value by xpp_sync(1) if you have an Astribank. You can set this to an
+# explicit Astribank (e.g: 01).
XPP_SYNC=auto
+
+# The maximal timeout (seconds) to wait for udevd to finish generating
+# device nodes after the modules have loaded and before running ztcfg.
+ZAP_DEV_TIMEOUT=20
#
# Determine which kind of configuration we're using
@@ -158,7 +168,7 @@
action "Loading zaptel framework: " modprobe zaptel ${ARGS}
fi
echo -n "Waiting for zap to come online..."
- TMOUT=10 # max secs to wait
+ TMOUT=$ZAP_DEV_TIMEOUT # max secs to wait
while [ ! -d /dev/zap ] ; do
sleep 1
TMOUT=`expr $TMOUT - 1`
More information about the zaptel-commits
mailing list