installer.sh: remove some pre-systemd post-install configuration commands

This commit is contained in:
Silvan Calarco 2013-06-28 22:46:19 +02:00
parent f1c4b0a2fc
commit 27b08af71d

View File

@ -553,16 +553,6 @@ fi
dcop_write $"Configuring system startup files..." 85 dcop_write $"Configuring system startup files..." 85
echo $"Configuring system startup files" echo $"Configuring system startup files"
# configure inittab
sed -i "s,^1:.*,1:234:respawn:/sbin/agetty tty1 9600," \
$MOUNTPOINT/etc/inittab
sed -i "s,^\([2-3]\):.*,\1:2345:respawn:/sbin/agetty tty\1 9600," \
$MOUNTPOINT/etc/inittab
# enable multithreaded init
sed -i "s|multithread=.*|multithread=1|" $MOUNTPOINT/etc/sysconfig/rc
chroot $MOUNTPOINT depinit
if [ -d /cdrom/openmamba/base ]; then if [ -d /cdrom/openmamba/base ]; then
# openmamba install_packages script section # openmamba install_packages script section
@ -606,9 +596,6 @@ rpm -r $MOUNTPOINT -e livecd-tools
# remove ssh live medium keys # remove ssh live medium keys
rm -f $MOUNTPOINT/etc/ssh/ssh_host*_key $MOUNTPOINT/etc/ssh/ssh_host*_key.pub rm -f $MOUNTPOINT/etc/ssh/ssh_host*_key $MOUNTPOINT/etc/ssh/ssh_host*_key.pub
sed -i /eject_cd.sh/d $MOUNTPOINT/etc/rc0.d/K99halt
sed -i /eject_cd.sh/d $MOUNTPOINT/etc/rc6.d/K99reboot
# fix paths in root home directory and perform some cleanup # fix paths in root home directory and perform some cleanup
for d in $MOUNTPOINT/root/.kde $MOUNTPOINT/root/.kde4 $MOUNTPOINT/root/.qt; do for d in $MOUNTPOINT/root/.kde $MOUNTPOINT/root/.kde4 $MOUNTPOINT/root/.qt; do
[ -e $d ] && find $d -type f -exec sed -i "s|/squashfs||" {} \; [ -e $d ] && find $d -type f -exec sed -i "s|/squashfs||" {} \;