From 45dc5f16b790ce5b8b46a48ca582c8da2a881dff Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Jun 2009 10:58:15 +0200 Subject: [PATCH] Correcting wrong path when disabling anacron in 25configure_init, thanks to Rui Bernardo (Closes: #533046). --- scripts/live-bottom/25configure_init | 4 ++-- 1 file 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 -- 2.1.4