2012-07-03 18:51:05 +02:00
|
|
|
#!/bin/sh
|
2010-09-17 13:40:17 +02:00
|
|
|
|
2012-07-25 13:21:49 +02:00
|
|
|
/usr/sbin/env-update
|
|
|
|
. /etc/profile
|
2010-09-17 13:40:17 +02:00
|
|
|
|
2012-07-03 18:51:05 +02:00
|
|
|
# remove sabayonuser
|
|
|
|
userdel sabayonuser
|
|
|
|
|
|
|
|
DROP_SERVICES="
|
2012-07-05 15:49:14 +02:00
|
|
|
alsasound
|
2012-07-03 18:51:05 +02:00
|
|
|
avahi-daemon
|
2012-07-05 15:49:14 +02:00
|
|
|
consolefont
|
2012-07-05 15:51:37 +02:00
|
|
|
dbus
|
2012-07-03 18:51:05 +02:00
|
|
|
fbcondecor
|
|
|
|
fsck
|
|
|
|
hotplug
|
|
|
|
hwclock
|
|
|
|
installer-gui
|
|
|
|
installer-text
|
|
|
|
keymaps
|
|
|
|
lvm
|
|
|
|
mdadm
|
|
|
|
netmount
|
|
|
|
NetworkManager
|
|
|
|
sabayonlive
|
|
|
|
swap
|
|
|
|
swapfiles
|
|
|
|
termencoding
|
|
|
|
x-setup
|
|
|
|
"
|
|
|
|
|
|
|
|
for serv in ${DROP_SERVICES}; do
|
|
|
|
rc-update del ${serv} default
|
|
|
|
rc-update del ${serv} boot
|
|
|
|
done
|
2012-07-05 15:51:37 +02:00
|
|
|
rc-update add vixie-cron default
|
2012-07-05 16:07:29 +02:00
|
|
|
rc-update del udev sysinit
|
|
|
|
rc-update del dmesg sysinit
|
2012-07-03 18:51:05 +02:00
|
|
|
|
2010-09-17 13:40:17 +02:00
|
|
|
# Generate list of installed packages
|
|
|
|
equo query list installed -qv > /etc/sabayon-pkglist
|
2011-07-10 11:30:23 +02:00
|
|
|
|
|
|
|
# remove hw hash
|
|
|
|
rm -f /etc/entropy/.hw.hash
|
2011-08-31 11:43:03 +02:00
|
|
|
# remove entropy pid file
|
|
|
|
rm -f /var/run/entropy/entropy.lock
|
|
|
|
|
|
|
|
exit 0
|