2010-11-01 16:42:36 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
rc-update del installer-gui boot
|
|
|
|
rc-update del x-setup boot
|
|
|
|
rc-update del hald boot
|
|
|
|
rc-update del avahi-daemon default
|
|
|
|
|
2011-07-03 10:37:52 +02:00
|
|
|
# A RUNNING NetworkManager is required by Anaconda !!
|
2010-11-01 16:42:36 +01:00
|
|
|
# re-enable rc_hotplug
|
2011-07-03 10:37:52 +02:00
|
|
|
# sed -i 's:^rc_hotplug=.*:rc_hotplug="*":g' /etc/rc.conf
|
|
|
|
# rc-update del NetworkManager default
|
2010-11-01 16:42:36 +01:00
|
|
|
|
|
|
|
# install-data dir is really not needed
|
|
|
|
rm -rf /install-data
|
|
|
|
|
|
|
|
mount -t proc proc /proc
|
|
|
|
/lib/rc/bin/rc-depend -u
|
|
|
|
|
|
|
|
# Generate openrc cache
|
2011-07-06 10:58:26 +02:00
|
|
|
touch /lib/rc/init.d/softlevel
|
2010-11-01 16:42:36 +01:00
|
|
|
/etc/init.d/savecache start
|
|
|
|
/etc/init.d/savecache zap
|
|
|
|
|
|
|
|
ldconfig
|
|
|
|
ldconfig
|
|
|
|
umount /proc
|
|
|
|
|
|
|
|
emaint --fix world
|
|
|
|
|
|
|
|
rm -rf /var/lib/entropy/*cache*
|
|
|
|
|
|
|
|
exit 0
|