summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-06-15 10:58:15 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:05 +0100
commit45dc5f16b790ce5b8b46a48ca582c8da2a881dff (patch)
treeefd46970f002697f2226ec5cc1c94eb510bfdeb7 /scripts
parent591cf99777da9ad9bb2b5987e765ee1861701878 (diff)
downloadlive-boot-45dc5f16b790ce5b8b46a48ca582c8da2a881dff.tar.gz
live-boot-45dc5f16b790ce5b8b46a48ca582c8da2a881dff.zip
Correcting wrong path when disabling anacron in 25configure_init, thanks to Rui Bernardo <rui.bernardo.pt@gmail.com> (Closes: #533046).
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live-bottom/25configure_init4
1 files changed, 2 insertions, 2 deletions
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