[SCM] live-debconfig branch, debian-next, updated. debian/4.0_a3-1-19-g6ff9833

Daniel Baumann daniel at debian.org
Fri Aug 17 11:26:19 UTC 2012


The following commit has been merged in the debian-next branch:
commit 6ff98336818570e17ba53fc4082b021aab619cd9
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Aug 17 13:26:18 2012 +0200

    Replacing test for stop links in sysvinit script with ls to match on wildcards.

diff --git a/scripts/debconfig/0030-sysvinit b/scripts/debconfig/0030-sysvinit
index a04dc57..917d433 100755
--- a/scripts/debconfig/0030-sysvinit
+++ b/scripts/debconfig/0030-sysvinit
@@ -150,7 +150,7 @@ case "${_LXC_ENABLE}" in
 			# service is already disabled
 			for _RUNLEVEL in /etc/rc*.d
 			do
-				if [ ! -e "${_RUNLEVEL}/K*${_SERVICE}" ]
+				if ! ls ${_RUNLEVEL}/K*${_SERVICE} > /dev/null 2>&1
 				then
 					# disabled services have stop links in all runlevels
 					# if at least one runlevel does not have a stop link,

-- 
live-debconfig



More information about the debian-live-changes mailing list