From 557e838e559103d45ed04ca1552ac5716953b6b9 Mon Sep 17 00:00:00 2001 From: Vicent Guardiola Date: Thu, 11 Feb 2010 11:01:24 +0000 Subject: Enable request password default for drakboot --- perl-install/any.pm | 2 -- 1 file changed, 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 { -- cgit v1.2.1