[Asterisk-cvs] zaptel zaptel.init,1.9,1.10
markster at lists.digium.com
markster at lists.digium.com
Thu Feb 17 19:32:01 CST 2005
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv29211
Modified Files:
zaptel.init
Log Message:
Update zaptel.init for FC3 (bug #3615)
Index: zaptel.init
===================================================================
RCS file: /usr/cvsroot/zaptel/zaptel.init,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- zaptel.init 21 Jan 2005 22:49:26 -0000 1.9
+++ zaptel.init 18 Feb 2005 01:31:01 -0000 1.10
@@ -68,13 +68,7 @@
elif [ $system = redhat ]; then
action "Loading zaptel framework: " modprobe zaptel
fi
- echo -n "Loading zaptel hardware modules:"
- for x in $MODULES; do
- if modprobe ${x} ${ARGS} >& /dev/null; then
- echo -n " $x"
- fi
- done
- echo "."
+ echo -n "Waiting for zap to come online..."
TMOUT=10 # max secs to wait
while [ ! -d /dev/zap ] ; do
sleep 1
@@ -84,6 +78,13 @@
exit 1
fi
done
+ echo "OK"
+ echo -n "Loading zaptel hardware modules:"
+ for x in $MODULES; do
+ if modprobe ${x} ${ARGS} >& /dev/null; then
+ echo -n " $x"
+ fi
+ done
if [ $system = debian ]; then
echo -n "Running ztcfg: "
/sbin/ztcfg >& /dev/null && echo -n "done"
More information about the svn-commits
mailing list