From 6bfb0baef770294732bd3b767a827bde4d0ca2c1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 21 Sep 2001 11:18:36 +0000 Subject: write password in lilo.conf even if it's also done by msec, otherwise lilo will fail with restricted only --- perl-install/bootloader.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 2a8b2e2a7..da71cc0a5 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -583,7 +583,7 @@ sub install_silo($$$) { $silo->{$_} and print F "$_=$silo->{$_}" foreach qw(partition root default append); $silo->{$_} and print F $_ foreach qw(restricted); - #- print F "password=", $silo->{password} if $silo->{restricted} && $silo->{password}; #- done by msec + print F "password=", $silo->{password} if $silo->{restricted} && $silo->{password}; #- also done by msec print F "timeout=", round(10 * $silo->{timeout}) if $silo->{timeout}; print F "message=$silo->{boot}/message" if $silo->{message}; @@ -661,7 +661,7 @@ sub write_lilo_conf { $lilo->{$_} and print F "$_=$lilo->{$_}" foreach qw(boot map install vga default append keytable); $lilo->{$_} and print F $_ foreach qw(linear lba32 compact prompt restricted); - #- print F "password=", $lilo->{password} if $lilo->{restricted} && $lilo->{password}; #- done by msec + print F "password=", $lilo->{password} if $lilo->{restricted} && $lilo->{password}; #- also done by msec print F "timeout=", round(10 * $lilo->{timeout}) if $lilo->{timeout}; my $dev = $hds->[0]{device}; -- cgit v1.2.1