summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-06-27 21:48:34 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-06-27 21:48:34 +0000
commit6e253b0026f06413e2dfc0fa05b8a774f0decdc4 (patch)
tree312ce8867889bf4185cd637dd1993d476ea0e0b3
parentAdded a kill -HUP 1 to force a reread of inittab when it has been edited. (diff)
downloadlivecd-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
-rwxr-xr-xlivecd-functions.sh7
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