diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-07-07 19:52:42 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-07-07 19:52:42 +0000 |
commit | 73009ba9ceecda2e2e55c610394129a5480a3c0f (patch) | |
tree | 04aca50451edda33d059bab9bee5ff13e8160005 | |
parent | add EFI console detection (diff) | |
download | livecd-tools-73009ba9ceecda2e2e55c610394129a5480a3c0f.tar.gz livecd-tools-73009ba9ceecda2e2e55c610394129a5480a3c0f.tar.bz2 livecd-tools-73009ba9ceecda2e2e55c610394129a5480a3c0f.zip |
Changed devfs device naming to LSB device naming and added in some einfos to appease the ppc64 gods, lest they become angry and smite thee.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@66 7bf51bff-881f-0410-a643-fba68b97345e
-rwxr-xr-x | livecd-functions.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/livecd-functions.sh b/livecd-functions.sh index febd109..c0d3332 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.11 2005/07/07 16:14:35 agriffis Exp $ +# $Header: /var/cvsroot/gentoo/src/livecd-tools/livecd-functions.sh,v 1.12 2005/07/07 19:52:42 wolf31o2 Exp $ # Global Variables: # CDBOOT -- is booting off CD @@ -384,9 +384,9 @@ livecd_fix_inittab() { done fi fi - if [ -c "/dev/hvc/0" ] + if [ -c "/dev/hvc0" ] then - ln -s /dev/hvc/0 /dev/hvc0 + einfo "Adding hvc console to inittab" echo "s0:12345:respawn:/sbin/agetty -nl /bin/bashlogin 9600 hvc0 vt320" >> /etc/inittab fi @@ -400,6 +400,7 @@ livecd_fix_inittab() { echo "c${x}:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty${x} linux" >> /etc/inittab done else + einfo "Adding ${LIVECD_CONSOLE} console to inittab" echo "s0:12345:respawn:/sbin/agetty -nl /bin/bashlogin ${LIVECD_CONSOLE_BAUD} ${LIVECD_CONSOLE} vt100" >> /etc/inittab fi fi |