diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-02-03 23:38:17 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-02-03 23:38:17 +0000 |
commit | c7a741eabea9eec01b26d9c13591d0b48203a0e2 (patch) | |
tree | f8105267b93bf4d24ea79a496e06a044c5da9eba /perl-install/any.pm | |
parent | ccdd55c4a9b96a3bd963e10ed04abe4ffdd66543 (diff) | |
download | drakx-c7a741eabea9eec01b26d9c13591d0b48203a0e2.tar drakx-c7a741eabea9eec01b26d9c13591d0b48203a0e2.tar.gz drakx-c7a741eabea9eec01b26d9c13591d0b48203a0e2.tar.bz2 drakx-c7a741eabea9eec01b26d9c13591d0b48203a0e2.tar.xz drakx-c7a741eabea9eec01b26d9c13591d0b48203a0e2.zip |
(setupBootloader__general, crypt_grub_password, is_already_crypted,
read_grub_menu_lst, write_grub) add support for crypted grub passwords
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 7c1673eae..f8f81b60f 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -428,6 +428,8 @@ sub setupBootloader__general { disabled => sub { !$enable_lapic } }, { text => N("Enable Local APIC"), val => \$enable_lapic, type => 'bool', advanced => 1 }, { label => N("Security"), title => 1 }, + { text => N("Encrypted password"), val => \$b->{encrypted}, type => "bool", + disabled => sub { $b->{method} !~ /^grub/ } }, { label => N("Password"), val => \$b->{password}, hidden => 1, validate => sub { my $ok = $b->{password} eq $b->{password2} |