[Pkg-voip-commits] r1589 - zaptel/trunk/debian

Lionel Elie Mamane lmamane at costa.debian.org
Sun Apr 16 23:09:30 UTC 2006


Author: lmamane
Date: 2006-04-16 23:09:29 +0000 (Sun, 16 Apr 2006)
New Revision: 1589

Modified:
   zaptel/trunk/debian/changelog
   zaptel/trunk/debian/zaptel.init
Log:
The test for necessity of ztdummy was exactly inverted; correct that.
Also the comment explaining that bit was half one comment, half another one;
consolidate it.


Modified: zaptel/trunk/debian/changelog
===================================================================
--- zaptel/trunk/debian/changelog	2006-04-16 22:57:16 UTC (rev 1588)
+++ zaptel/trunk/debian/changelog	2006-04-16 23:09:29 UTC (rev 1589)
@@ -1,8 +1,9 @@
 zaptel (1:1.2.5-2) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
+  * Load ztdummy when needed, not when not needed.
 
- -- Kilian Krause <kilian at debian.org>  Thu, 30 Mar 2006 20:56:47 +0000
+ -- Lionel Elie Mamane <lmamane at debian.org>  Mon, 17 Apr 2006 01:07:11 +0200
 
 zaptel (1:1.2.5-1) unstable; urgency=low
 

Modified: zaptel/trunk/debian/zaptel.init
===================================================================
--- zaptel/trunk/debian/zaptel.init	2006-04-16 22:57:16 UTC (rev 1588)
+++ zaptel/trunk/debian/zaptel.init	2006-04-16 23:09:29 UTC (rev 1589)
@@ -36,11 +36,10 @@
 		#	modprobe $module
 		#done
 		
-		# 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 
-		# If there is no zaptel timing source:
-		if head -c 0 /dev/zap/pseudo 2>/dev/null
+		# If there is no zaptel timing source, load
+		# ztdummy. Other modules should have been loaded by
+		# now.
+		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