X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fcasper-bottom%2F25configure_init;h=f9a86267364a7929476764de57f3e43aba5dd297;hb=ae9c9f6b41cbd5f7a6eec1e2415671048e321f8a;hp=f457bf67d498e8aa9bb71f986e7704ee1580e452;hpb=939c70c83d1416a07f6b658962fa487f3280404a;p=live-boot-grml.git diff --git a/scripts/casper-bottom/25configure_init b/scripts/casper-bottom/25configure_init index f457bf6..f9a8626 100755 --- a/scripts/casper-bottom/25configure_init +++ b/scripts/casper-bottom/25configure_init @@ -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) 2>\&1|" $f + sed -i -e "s|^exec.*|exec /bin/login -f $USERNAME /dev/$(basename $f) 2>\&1|" $f done fi fi