summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/25configure_init
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-04-30 18:49:38 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:08 +0100
commitf46f34335c75248f8625232e72fb0635702bd6cc (patch)
tree16e0af38c1e50b499eb07e43ecdca91526cd0b54 /scripts/live-bottom/25configure_init
parent2590556a825d10f48ca3d4443b41156bb019c9af (diff)
downloadlive-boot-f46f34335c75248f8625232e72fb0635702bd6cc.tar.gz
live-boot-f46f34335c75248f8625232e72fb0635702bd6cc.zip
Merging casper 1.197.
Diffstat (limited to 'scripts/live-bottom/25configure_init')
-rwxr-xr-xscripts/live-bottom/25configure_init3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/live-bottom/25configure_init b/scripts/live-bottom/25configure_init
index b90a7db..67e21a6 100755
--- a/scripts/live-bottom/25configure_init
+++ b/scripts/live-bottom/25configure_init
@@ -77,8 +77,7 @@ then
then
for f in /root/etc/init/tty*
do
- 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}
+ sed -i -e "s|^exec.*|exec /bin/login -f $USERNAME </dev/$(basename $f .conf) > /dev/$(basename $f .conf) 2>\&1|" $f
done
fi
fi