diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-02-03 23:37:57 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-02-03 23:37:57 +0000 |
commit | 43809d04b01230a1db54d47b97d0154853871374 (patch) | |
tree | a1b19fb3cfd16d5833f40de37eb92f0c794547fa /perl-install | |
parent | 9756c3af6dd933e24f5d3e343cea9449e32564a8 (diff) | |
download | drakx-backup-do-not-use-43809d04b01230a1db54d47b97d0154853871374.tar drakx-backup-do-not-use-43809d04b01230a1db54d47b97d0154853871374.tar.gz drakx-backup-do-not-use-43809d04b01230a1db54d47b97d0154853871374.tar.bz2 drakx-backup-do-not-use-43809d04b01230a1db54d47b97d0154853871374.tar.xz drakx-backup-do-not-use-43809d04b01230a1db54d47b97d0154853871374.zip |
(setupBootloader__general) make 'restric' an advanced option
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/any.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index bfd403aed..492d8da4f 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -426,7 +426,8 @@ sub setupBootloader__general { $ok && $ok2; } }, { label => N("Password (again)"), val => \$b->{password2}, hidden => 1 }, - { text => N("Restrict command line options"), val => \$b->{restricted}, type => "bool", text => N("restrict"), + { text => N("Restrict command line options"), val => \$b->{restricted}, type => "bool", + text => N("restrict"), advanced => 1 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; |