[Asterisk-cvs] zaptel zaptel.init,1.10,1.11
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Thu Mar 31 22:47:02 CST 2005
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv28873
Modified Files:
zaptel.init
Log Message:
Make zaptel.init automatically load ztdummy if none of the hardware
drivers find any Zaptel hardware (bug #3886)
Index: zaptel.init
===================================================================
RCS file: /usr/cvsroot/zaptel/zaptel.init,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- zaptel.init 18 Feb 2005 01:31:01 -0000 1.10
+++ zaptel.init 1 Apr 2005 04:40:27 -0000 1.11
@@ -85,6 +85,11 @@
echo -n " $x"
fi
done
+ sleep 3
+ if [ ! -e /proc/zaptel/1 ]
+ echo "No functioning zap hardware found in /proc/zaptel, loading ztdummy"
+ modprobe ztdummy >& /dev/null
+ fi
if [ $system = debian ]; then
echo -n "Running ztcfg: "
/sbin/ztcfg >& /dev/null && echo -n "done"
More information about the svn-commits
mailing list