Only disabling kpersonalizer when using kde3, kde4 doesn't need that hack.
[live-boot-grml.git] / scripts / live-bottom / 25configure_init
index 3a7633f..f55dd0e 100755 (executable)
@@ -77,7 +77,8 @@ then
                then
                        for f in /root/etc/event.d/tty*
                        do
-                               sed -i -e "s|^respawn.*|respawn /bin/login -f ${USERNAME} </dev/$(basename ${f}) > /dev/$(basename ${f}) 2>\&1|" ${f}
+                               sed -i -e "/^respawn$/!s|^respawn.*|respawn /bin/login -f ${USERNAME} </dev/$(basename ${f}) > /dev/$(basename ${f}) 2>\&1|" ${f}
+                               sed -i -e "s|^exec.*|exec /bin/login -f ${USERNAME} </dev/$(basename ${f}) > /dev/$(basename ${f}) 2>\&1|" ${f}
                        done
                fi
        fi
@@ -97,9 +98,6 @@ then
                ln -s /bin/true /root/usr/sbin/anacron
        fi
 
-       # No point, really
-       rm -f /root/etc/rc?.d/[SK]??postfix
-
        # Avoid clobbering the user's clock
        rm -f /root/etc/rc?.d/K??hwclock.sh
 fi