From 729e67cecb983e0c8b690dbf4e37aa20aed00f13 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 9 Sep 2002 16:30:11 +0000 Subject: when "password" or "restricted" is set, propose the entries to change them (thanks to Aleksander Adamowski) --- perl-install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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") }, -- cgit v1.2.1