summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-03-07 15:34:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-03-07 15:34:22 +0000
commit89ac7b2813f4751410e17d53ffd3ae143663a84d (patch)
tree150aefa81ac299e68e21d67156d43a43400d226f /perl-install/bootloader.pm
parent2fcae3b1015c88cb4582a3eab4218e6854c4470a (diff)
downloaddrakx-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.pm2
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) {