summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVicent Guardiola <vguardiola@mandriva.com>2010-02-11 11:01:24 +0000
committerVicent Guardiola <vguardiola@mandriva.com>2010-02-11 11:01:24 +0000
commit557e838e559103d45ed04ca1552ac5716953b6b9 (patch)
treed82decd47cf4a6846f21ef279c8db50942d38025
parent56d959c1708dd641ae5d8dbb569e7f262f42344a (diff)
downloaddrakx-557e838e559103d45ed04ca1552ac5716953b6b9.tar
drakx-557e838e559103d45ed04ca1552ac5716953b6b9.tar.gz
drakx-557e838e559103d45ed04ca1552ac5716953b6b9.tar.bz2
drakx-557e838e559103d45ed04ca1552ac5716953b6b9.tar.xz
drakx-557e838e559103d45ed04ca1552ac5716953b6b9.zip
Enable request password default for drakboot
-rw-r--r--perl-install/any.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 0304df559..a8ffd4cd9 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -409,7 +409,6 @@ sub setupBootloader__general {
{ text => N("Enable ACPI"), val => \$force_acpi, type => 'bool' },
{ text => N("Enable APIC"), val => \$enable_apic, type => 'bool', advanced => 1, disabled => sub { !$enable_lapic } },
{ text => N("Enable Local APIC"), val => \$enable_lapic, type => 'bool', advanced => 1 },
- if_($security >= 4 || $b->{password} || $b->{restricted},
{ label => N("Password"), val => \$b->{password}, hidden => 1,
validate => sub {
my $ok = $b->{password} eq $b->{password2} or $in->ask_warn('', [ N("The passwords do not match"), N("Please try again") ]);
@@ -419,7 +418,6 @@ sub setupBootloader__general {
{ label => N("Password (again)"), val => \$b->{password2}, hidden => 1 },
{ text => N("Restrict command line options"), val => \$b->{restricted}, type => "bool", text => N("restrict"),
validate => sub { my $ok = !$b->{restricted} || $b->{password} or $in->ask_warn('', N("Option ``Restrict command line options'' is of no use without a password")); $ok } },
- ),
{ text => N("Clean /tmp at each boot"), val => \$clean_tmp, type => 'bool', advanced => 1 },
]) or return 0;
} else {