[Pkg-voip-commits] r1088 - zaptel/trunk/debian
Tzafrir Cohen
tzafrir-guest at costa.debian.org
Fri Dec 30 17:10:57 UTC 2005
Author: tzafrir-guest
Date: 2005-12-30 17:10:57 +0000 (Fri, 30 Dec 2005)
New Revision: 1088
Modified:
zaptel/trunk/debian/zaptel.init
Log:
a slightly different test for a zaptel timing source
Modified: zaptel/trunk/debian/zaptel.init
===================================================================
--- zaptel/trunk/debian/zaptel.init 2005-12-30 17:07:51 UTC (rev 1087)
+++ zaptel/trunk/debian/zaptel.init 2005-12-30 17:10:57 UTC (rev 1088)
@@ -39,8 +39,8 @@
# if no zaptel module loaded: load ztdummy. other modules should have
# been loaded by now
# The first holds if zaptel is not loaded at all. The second: if
- # zaptel is loaded but no other module is.
- if [ ! -d /proc/zaptel ] || ! echo /proc/zaptel/* | grep -v '\*'| grep -q .
+ # If there is no zaptel timing source:
+ if head -c 0 /dev/zap/pseudo 2>/dev/null
then modprobe ztdummy || true # will fail if there is no module package
fi
if [ -r /etc/fxotune.conf ] && [ -x fxotune ]; then
More information about the Pkg-voip-commits
mailing list