summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-21 11:18:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-21 11:18:36 +0000
commit6bfb0baef770294732bd3b767a827bde4d0ca2c1 (patch)
tree031e9b74dd1e73652dc0e883e38c7222540a5a36 /perl-install
parent364b3b4370c99de6c93082d4ccc3be3b6ca3e514 (diff)
downloaddrakx-6bfb0baef770294732bd3b767a827bde4d0ca2c1.tar
drakx-6bfb0baef770294732bd3b767a827bde4d0ca2c1.tar.gz
drakx-6bfb0baef770294732bd3b767a827bde4d0ca2c1.tar.bz2
drakx-6bfb0baef770294732bd3b767a827bde4d0ca2c1.tar.xz
drakx-6bfb0baef770294732bd3b767a827bde4d0ca2c1.zip
write password in lilo.conf even if it's also done by msec, otherwise lilo will fail with restricted only
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootloader.pm4
1 files 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};