diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-14 14:10:18 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-14 14:10:18 +0000 |
commit | c15a46344c522ee0726ee8855f98181c008cb414 (patch) | |
tree | 3f988956a4fbdb87f0ab102b9aa6d26559810bf5 /perl-install | |
parent | bd5b6b9f097d99a31e50b0b6b85cd278e0154891 (diff) | |
download | drakx-c15a46344c522ee0726ee8855f98181c008cb414.tar drakx-c15a46344c522ee0726ee8855f98181c008cb414.tar.gz drakx-c15a46344c522ee0726ee8855f98181c008cb414.tar.bz2 drakx-c15a46344c522ee0726ee8855f98181c008cb414.tar.xz drakx-c15a46344c522ee0726ee8855f98181c008cb414.zip |
add "Security level" in summary
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps_interactive.pm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index ae16e79d0..d7152f24b 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -964,6 +964,20 @@ sub summary { push @l, { group => N("Security"), + label => N("Security Level"), + val => sub { + require security::level; + security::level::to_string($o->{security}); + }, + clicked => sub { + require security::level; + security::level::level_choose($o, \$o->{security}, \$o->{libsafe}, \$o->{security_user}) + and install_any::set_security($o); + }, + }; + + push @l, { + group => N("Security"), label => N("Firewall"), val => sub { require network::shorewall; |