consistent update of the links to /etc/init.d directory
diff -Naur initrd-110-7-orig.txt/scripts/live-bottom/20xconfig initrd.txt/scripts/live-bottom/20xconfig
--- initrd-110-7-orig.txt/scripts/live-bottom/20xconfig 2007-11-19 10:58:26.000000000 +0100
+++ initrd.txt/scripts/live-bottom/20xconfig 2007-11-19 12:22:29.000000000 +0100
@@ -34,7 +34,10 @@
if [ "${TERM_TYPE}" = "serial" ]
then
# Don't bother trying to configure or start X on a serial console
- rm -f /root/etc/rc?.d/S??[gkx]dm
+ #rm -f /root/etc/rc?.d/S??[gkx]dm
+ chroot /root update-rc.d -f gdm remove
+ chroot /root update-rc.d -f kdm remove
+ chroot /root update-rc.d -f xdm remove
exit 0
fi
diff -Naur initrd-110-7-orig.txt/scripts/live-bottom/25configure_init initrd.txt/scripts/live-bottom/25configure_init
--- initrd-110-7-orig.txt/scripts/live-bottom/25configure_init 2007-11-19 10:58:26.000000000 +0100
+++ initrd.txt/scripts/live-bottom/25configure_init 2007-11-19 12:24:46.000000000 +0100
@@ -101,10 +101,12 @@
fi
# No point, really
- rm -f /root/etc/rc?.d/[SK]??postfix
+ #rm -f /root/etc/rc?.d/[SK]??postfix
+ chroot /root update-rc.d -f postfix remove
# Avoid clobbering the user's clock
- rm -f /root/etc/rc?.d/K??hwclock.sh
+ #rm -f /root/etc/rc?.d/K??hwclock.sh
+ chroot /root update-rc.d -f hwclock.sh remove
fi
# Disable readahead since it doesn't play well with squashfs + unionfs
_______________________________________________
debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel