diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-01-19 15:28:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-01-19 15:28:36 +0000 |
commit | a372d3ec05ebf72c033c752f4ce3bda874f6916d (patch) | |
tree | 265daf0e996ec2e6f30d6e0c00c95ee93c2a251a | |
parent | 07f232002fd6cb3ac02194079cd402e1d75e14fa (diff) | |
download | drakx-a372d3ec05ebf72c033c752f4ce3bda874f6916d.tar drakx-a372d3ec05ebf72c033c752f4ce3bda874f6916d.tar.gz drakx-a372d3ec05ebf72c033c752f4ce3bda874f6916d.tar.bz2 drakx-a372d3ec05ebf72c033c752f4ce3bda874f6916d.tar.xz drakx-a372d3ec05ebf72c033c752f4ce3bda874f6916d.zip |
enable to set bootloader password in high security level
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/any.pm | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index ecfd5e515..da239a5c0 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -3,6 +3,7 @@ now has a HTML "close" button again - drakboot: o fix reading security level + o enable to set bootloader password in high security level Version 12.77.3 - 14 January 2010 diff --git a/perl-install/any.pm b/perl-install/any.pm index b622ca666..a2de0fa2c 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -411,7 +411,7 @@ sub setupBootloader__general { { text => N("Enable SMP"), val => \$enable_smp, type => 'bool', advanced => 1 }, { 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}, + if_($security >= 2 || $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") ]); |