Adding upstream version 1.87.1.
[live-boot-grml.git] / scripts / casper-bottom / 25configure_init
index f457bf6..f9a8626 100755 (executable)
@@ -3,7 +3,7 @@
 PREREQ=""
 DESCRIPTION="Setting up init..."
 
-. /scripts/functions
+. /scripts/casper-functions
 
 prereqs()
 {
@@ -28,7 +28,7 @@ if [ -n "$USERNAME" ]; then
     fi
     if [ "/root/etc/event.d/tty*" != "$(echo /root/etc/event.d/tty*)" ]; 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 "s|^exec.*|exec /bin/login -f $USERNAME </dev/$(basename $f) > /dev/$(basename $f) 2>\&1|" $f
         done
     fi
 fi