summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-09-09 16:30:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-09-09 16:30:11 +0000
commit729e67cecb983e0c8b690dbf4e37aa20aed00f13 (patch)
treeedb46d599b92b1241703d970497896c7404e0ab9 /perl-install/any.pm
parent5cc37c481ef87a8654cb241c3d326519517bb0f2 (diff)
downloaddrakx-backup-do-not-use-729e67cecb983e0c8b690dbf4e37aa20aed00f13.tar
drakx-backup-do-not-use-729e67cecb983e0c8b690dbf4e37aa20aed00f13.tar.gz
drakx-backup-do-not-use-729e67cecb983e0c8b690dbf4e37aa20aed00f13.tar.bz2
drakx-backup-do-not-use-729e67cecb983e0c8b690dbf4e37aa20aed00f13.tar.xz
drakx-backup-do-not-use-729e67cecb983e0c8b690dbf4e37aa20aed00f13.zip
when "password" or "restricted" is set, propose the entries to change them
(thanks to Aleksander Adamowski)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index abec5ea8a..34b8464ac 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -166,7 +166,7 @@ sub setupBootloader {
{ label => _("Video mode"), val => \$b->{vga}, list => [ keys %bootloader::vga_modes ], not_edit => !$::expert, format => sub { $bootloader::vga_modes{$_[0]} }, advanced => 1 },
),
{ label => _("Delay before booting default image"), val => \$b->{timeout} },
- if_($security >= 4,
+ if_($security >= 4 || $b->{password} || $b->{restricted},
{ label => _("Password"), val => \$b->{password}, hidden => 1 },
{ label => _("Password (again)"), val => \$b->{password2}, hidden => 1 },
{ label => _("Restrict command line options"), val => \$b->{restricted}, type => "bool", text => _("restrict") },