summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-01-26 22:49:18 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-01-26 22:49:18 +0000
commit948687153fd12a2d810f95c9982b0327b970a097 (patch)
tree20b00a2d7474c17fc587066feaa81d21002e2d2f /livecd-functions.sh
parentExtend serial/tty support for udev devices. (diff)
downloadlivecd-tools-948687153fd12a2d810f95c9982b0327b970a097.tar.gz
livecd-tools-948687153fd12a2d810f95c9982b0327b970a097.tar.bz2
livecd-tools-948687153fd12a2d810f95c9982b0327b970a097.zip
tts/0 -> ttyS0
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@95 7bf51bff-881f-0410-a643-fba68b97345e
Diffstat (limited to 'livecd-functions.sh')
-rwxr-xr-xlivecd-functions.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/livecd-functions.sh b/livecd-functions.sh
index 2f95dd3..36ab093 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.18 2006/01/26 22:47:21 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/livecd-tools/livecd-functions.sh,v 1.19 2006/01/26 22:49:18 wolf31o2 Exp $
# Global Variables:
# CDBOOT -- is booting off CD
@@ -377,7 +377,7 @@ livecd_fix_inittab() {
if [ -c "/dev/tts/0" ]
then
LIVECD_CONSOLE_BAUD=$(stty -F /dev/tts/0 speed)
- echo "s0:12345:respawn:/sbin/agetty -nl /bin/bashlogin ${LIVECD_CONSOLE_BAUD} tts/0 vt100" >> /etc/inittab
+ echo "s0:12345:respawn:/sbin/agetty -nl /bin/bashlogin ${LIVECD_CONSOLE_BAUD} ttyS0 vt100" >> /etc/inittab
fi
# HPPA software PDC console (K-models)
if [ "${LIVECD_CONSOLE}" = "ttyB0" ]