diff options
| author | Daniel Baumann <daniel@debian.org> | 2007-09-23 15:12:05 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:31:05 +0100 |
| commit | 6a3e789117d7c4254aee7905e0c3065a5202d79f (patch) | |
| tree | df13019d85c55473ae8c223fc8d4a86d7b8a987a /scripts/live-bottom/25configure_init | |
| parent | 13040ad5e4f230cdfecd278a3bf134110fc48f87 (diff) | |
| download | live-boot-6a3e789117d7c4254aee7905e0c3065a5202d79f.tar.gz live-boot-6a3e789117d7c4254aee7905e0c3065a5202d79f.zip | |
Merging casper 1.103.
Diffstat (limited to 'scripts/live-bottom/25configure_init')
| -rwxr-xr-x | scripts/live-bottom/25configure_init | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/live-bottom/25configure_init b/scripts/live-bottom/25configure_init index 1ed4445..e30261a 100755 --- a/scripts/live-bottom/25configure_init +++ b/scripts/live-bottom/25configure_init @@ -108,12 +108,10 @@ if [ -d /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/etc/init.d/anacron ] + if [ -x /root/usr/sbin/anacron ] then - for f in /root/etc/rc?.d/S??anacron - do - mv ${f} ${f%/*}/K00anacron - done + chroot /root dpkg-divert --add --rename --quiet /usr/sbin/anacron + ln -s /bin/true /usr/sbin/anacron fi # No point, really |
