summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlivecd-functions.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/livecd-functions.sh b/livecd-functions.sh
index a55bb50..f7a24c7 100755
--- a/livecd-functions.sh
+++ b/livecd-functions.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/livecd-tools/livecd-functions.sh,v 1.6 2005/06/10 13:12:00 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/livecd-tools/livecd-functions.sh,v 1.7 2005/06/10 14:37:01 wolf31o2 Exp $
# Global Variables:
# CDBOOT -- is booting off CD
@@ -370,7 +370,7 @@ livecd_fix_inittab() {
# FB / STI console
if [ -c "/dev/vc/1" ]
then
- for x in 1 2 3 4 5 6
+ for x in 0 1 2 3 4 5
do
echo "c${x}:12345:respawn:/sbin/mingetty --noclear --autologin root tty${x}" >> /etc/inittab
done
@@ -378,7 +378,7 @@ livecd_fix_inittab() {
if [ -c "/dev/hvc/0" ]
then
ln -s /dev/hvc/0 /dev/hvc0
- echo "c0:12345:respawn:/sbin/agetty -nl /bin/bashlogin 9600 hvc0 vt320" >> /etc/inittab
+ echo "s0:12345:respawn:/sbin/agetty -nl /bin/bashlogin 9600 hvc0 vt320" >> /etc/inittab
fi
# The rest...
else
@@ -386,7 +386,7 @@ livecd_fix_inittab() {
then
:
else
- echo "c0:12345:respawn:/sbin/agetty -nl /bin/bashlogin ${LIVECD_CONSOLE_BAUD} ${LIVECD_CONSOLE} vt100" >> /etc/inittab
+ echo "s0:12345:respawn:/sbin/agetty -nl /bin/bashlogin ${LIVECD_CONSOLE_BAUD} ${LIVECD_CONSOLE} vt100" >> /etc/inittab
fi
fi
return 0