summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/25configure_init
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-04-30 18:43:22 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:08 +0100
commit58ca66342e48713c51d0390f754c2d186561681f (patch)
tree770b4884cbc283d179ae0128e08e1044e64fdab4 /scripts/live-bottom/25configure_init
parent30632f45739dbd70307d9173bd7dac5b00133118 (diff)
downloadlive-boot-58ca66342e48713c51d0390f754c2d186561681f.tar.gz
live-boot-58ca66342e48713c51d0390f754c2d186561681f.zip
Merging casper 1.195.
Diffstat (limited to 'scripts/live-bottom/25configure_init')
-rwxr-xr-xscripts/live-bottom/25configure_init4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/live-bottom/25configure_init b/scripts/live-bottom/25configure_init
index f55dd0e..b90a7db 100755
--- a/scripts/live-bottom/25configure_init
+++ b/scripts/live-bottom/25configure_init
@@ -73,9 +73,9 @@ then
sed -i -e "s|^\([^:]*:[^:]*:[^:]*\):.*getty.*\<\(tty[0-9]*\).*$|\1:/bin/login -f ${USERNAME} </dev/\2 >/dev/\2 2>\&1|" /root/etc/inittab
fi
- if [ "/root/etc/event.d/tty*" != "$(echo /root/etc/event.d/tty*)" ]
+ if [ "/root/etc/init/tty*" != "$(echo /root/etc/init/tty*)" ]
then
- for f in /root/etc/event.d/tty*
+ 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}