From 89ac7b2813f4751410e17d53ffd3ae143663a84d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 7 Mar 2002 15:34:22 +0000 Subject: add --timeout=... for "terminal serial ..." line in grub's menu.lst --- perl-install/bootloader.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 0bbcc6f37..ceae3999d 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -871,7 +871,7 @@ sub write_grub_config { print F "color black/cyan yellow/cyan"; print F "i18n ", $file2grub->("/boot/grub/messages"); print F "keytable ", $file2grub->($lilo->{keytable}) if $lilo->{keytable}; - print F "serial --unit=$1 --speed=$2\nterminal serial console" if get_append($lilo, 'console') =~ /ttyS(\d),(\d+)/; + print F "serial --unit=$1 --speed=$2\nterminal serial console --timeout=" . ($lilo->{timeout} || 0) if get_append($lilo, 'console') =~ /ttyS(\d),(\d+)/; #- since we use notail in reiserfs, altconfigfile is broken :-( unless ($bootIsReiser) { -- cgit v1.2.1