diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-06-10 14:37:01 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-06-10 14:37:01 +0000 |
commit | 75412159f454aaf2af3cf2f72a321fabf6ff80eb (patch) | |
tree | 77545873b07803ffbee2b1681cb6c4165434ad95 /livecd-functions.sh | |
parent | Removing broken get_baselayout_ver funtion. (diff) | |
download | livecd-tools-75412159f454aaf2af3cf2f72a321fabf6ff80eb.tar.gz livecd-tools-75412159f454aaf2af3cf2f72a321fabf6ff80eb.tar.bz2 livecd-tools-75412159f454aaf2af3cf2f72a321fabf6ff80eb.zip |
Change c0 to s0 for serial console and change c* labels from 1->6 to 0->5 for uml.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@59 7bf51bff-881f-0410-a643-fba68b97345e
Diffstat (limited to 'livecd-functions.sh')
-rwxr-xr-x | livecd-functions.sh | 8 |
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 |