diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-03-07 15:34:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-03-07 15:34:22 +0000 |
commit | 89ac7b2813f4751410e17d53ffd3ae143663a84d (patch) | |
tree | 150aefa81ac299e68e21d67156d43a43400d226f /perl-install/bootloader.pm | |
parent | 2fcae3b1015c88cb4582a3eab4218e6854c4470a (diff) | |
download | drakx-89ac7b2813f4751410e17d53ffd3ae143663a84d.tar drakx-89ac7b2813f4751410e17d53ffd3ae143663a84d.tar.gz drakx-89ac7b2813f4751410e17d53ffd3ae143663a84d.tar.bz2 drakx-89ac7b2813f4751410e17d53ffd3ae143663a84d.tar.xz drakx-89ac7b2813f4751410e17d53ffd3ae143663a84d.zip |
add --timeout=... for "terminal serial ..." line in grub's menu.lst
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |