Correcting wrong path when disabling anacron in 25configure_init, thanks to Rui Berna...
authorDaniel Baumann <daniel@debian.org>
Mon, 15 Jun 2009 08:58:15 +0000 (10:58 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:05 +0000 (17:48 +0100)
scripts/live-bottom/25configure_init

index bb06eb5..3a7633f 100755 (executable)
@@ -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