1
0
mirror of synced 2026-01-21 17:55:25 +00:00

2005-12-19 17:17:04 by steve

Fixup the initial console, added reference too.
This commit is contained in:
steve 2005-12-19 17:17:04 +00:00
parent 9d77cbbfed
commit 06db61e5d5

View File

@ -190,7 +190,7 @@ broadcast = 255.255.255.0
--
http://www.steve.org.uk/
$Id: xen-create-image,v 1.23 2005-12-19 11:11:06 steve Exp $
$Id: xen-create-image,v 1.24 2005-12-19 17:17:04 steve Exp $
=cut
@ -905,12 +905,25 @@ sub fixupInittab
{
if ( $line =~ /^1/ )
{
# NOP - leave line unchanged.
#
# Leave line unchanged - but change 'tty1' to 'console'.
#
if ( $line =~ /(.*) tty[0-9]/ )
{
$line = $1 . " console";
}
#
# Reference:
# http://wiki.xensource.com/xenwiki/DebianSarge
#
}
else
{
# Otherwise comment out the line, we don't need multiple
# terminals since we can only access one.
#
# Otherwise comment out the line, we don't need multiple
# terminals since we can only access one.
#
$line = "#" . $line;
}
}