Skip to content

Commit

Permalink
Correcting wrong path when disabling anacron in 25configure_init, tha…
Browse files Browse the repository at this point in the history
…nks to Rui Bernardo <rui.bernardo.pt@gmail.com> (Closes: #533046).
  • Loading branch information
daniel-baumann committed Jun 15, 2009
1 parent 7fdda65 commit 6f33d98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/live-bottom/25configure_init
Expand Up @@ -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
Expand Down

0 comments on commit 6f33d98

Please sign in to comment.