[SCM] Debian Live initramfs hook branch, master, updated. 1.157.2-1-10-gdd3f537

Daniel Baumann daniel at debian.org
Mon Jun 15 09:08:13 UTC 2009


The following commit has been merged in the master branch:
commit dd3f537f6452d6d1f66ecad2a68e64b71af50a09
Author: Daniel Baumann <daniel at debian.org>
Date:   Mon Jun 15 10:58:15 2009 +0200

    Correcting wrong path when disabling anacron in 25configure_init, thanks to Rui Bernardo <rui.bernardo.pt at gmail.com> (Closes: #533046).

diff --git a/scripts/live-bottom/25configure_init b/scripts/live-bottom/25configure_init
index bb06eb5..3a7633f 100755
--- a/scripts/live-bottom/25configure_init
+++ b/scripts/live-bottom/25configure_init
@@ -87,14 +87,14 @@ then
 fi
 
 # do not try to remove files if using file-rc
-if [ -d /etc/rc0.d ]
+if [ -d /root/etc/rc0.d ]
 then
 	# This has the nice side effect of the cron.{daily,weekly,monthly} jobs in
 	# /etc/crontab remaining disabled, yet also not run by anacron
 	if [ -x /root/usr/sbin/anacron ]
 	then
 		chroot /root dpkg-divert --add --rename --quiet /usr/sbin/anacron
-		ln -s /bin/true /usr/sbin/anacron
+		ln -s /bin/true /root/usr/sbin/anacron
 	fi
 
 	# No point, really

-- 
Debian Live initramfs hook



More information about the debian-live-changes mailing list