summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-02-09 19:25:05 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-02-09 19:25:05 +0000
commit8a1173a0d875cfd2bb9af85342adcb61140a78ae (patch)
treea19c2367e446e851e397747b45885b06e17d86c9
parenttts/0 -> ttyS0 (diff)
downloadlivecd-tools-8a1173a0d875cfd2bb9af85342adcb61140a78ae.tar.gz
livecd-tools-8a1173a0d875cfd2bb9af85342adcb61140a78ae.tar.bz2
livecd-tools-8a1173a0d875cfd2bb9af85342adcb61140a78ae.zip
Changed tts/0 to ttyS0.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@96 7bf51bff-881f-0410-a643-fba68b97345e
-rwxr-xr-xlivecd-functions.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/livecd-functions.sh b/livecd-functions.sh
index 36ab093..96e9059 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.19 2006/01/26 22:49:18 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/livecd-tools/livecd-functions.sh,v 1.20 2006/02/09 19:25:05 wolf31o2 Exp $
# Global Variables:
# CDBOOT -- is booting off CD
@@ -374,9 +374,9 @@ livecd_fix_inittab() {
fi
# SPARC serial port A, HPPA mux / serial
- if [ -c "/dev/tts/0" ]
+ if [ -c "/dev/ttyS0" ]
then
- LIVECD_CONSOLE_BAUD=$(stty -F /dev/tts/0 speed)
+ LIVECD_CONSOLE_BAUD=$(stty -F /dev/ttyS0 speed)
echo "s0:12345:respawn:/sbin/agetty -nl /bin/bashlogin ${LIVECD_CONSOLE_BAUD} ttyS0 vt100" >> /etc/inittab
fi
# HPPA software PDC console (K-models)