diff options
author | 2005-06-27 21:48:34 +0000 | |
---|---|---|
committer | 2005-06-27 21:48:34 +0000 | |
commit | 6e253b0026f06413e2dfc0fa05b8a774f0decdc4 (patch) | |
tree | 312ce8867889bf4185cd637dd1993d476ea0e0b3 /livecd-functions.sh | |
parent | Added a kill -HUP 1 to force a reread of inittab when it has been edited. (diff) | |
download | livecd-tools-6e253b0026f06413e2dfc0fa05b8a774f0decdc4.tar.gz livecd-tools-6e253b0026f06413e2dfc0fa05b8a774f0decdc4.tar.bz2 livecd-tools-6e253b0026f06413e2dfc0fa05b8a774f0decdc4.zip |
Add back something that I think I accidentally removed that is totally h0arking livecd builds.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@63 7bf51bff-881f-0410-a643-fba68b97345e
Diffstat (limited to 'livecd-functions.sh')
-rwxr-xr-x | livecd-functions.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/livecd-functions.sh b/livecd-functions.sh index b82a978..dabc7be 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.9 2005/06/27 20:28:41 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/livecd-tools/livecd-functions.sh,v 1.10 2005/06/27 21:48:34 wolf31o2 Exp $ # Global Variables: # CDBOOT -- is booting off CD @@ -393,7 +393,10 @@ livecd_fix_inittab() { else if [ "${LIVECD_CONSOLE}" = "tty0" -o "${LIVECD_CONSOLE}" = "" ] then - : + for x in 1 2 3 4 5 6 + do + echo "c${x}:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty${x} linux" >> /etc/inittab + done else echo "s0:12345:respawn:/sbin/agetty -nl /bin/bashlogin ${LIVECD_CONSOLE_BAUD} ${LIVECD_CONSOLE} vt100" >> /etc/inittab fi |