summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-14 14:10:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-14 14:10:18 +0000
commitc15a46344c522ee0726ee8855f98181c008cb414 (patch)
tree3f988956a4fbdb87f0ab102b9aa6d26559810bf5
parentbd5b6b9f097d99a31e50b0b6b85cd278e0154891 (diff)
downloaddrakx-backup-do-not-use-c15a46344c522ee0726ee8855f98181c008cb414.tar
drakx-backup-do-not-use-c15a46344c522ee0726ee8855f98181c008cb414.tar.gz
drakx-backup-do-not-use-c15a46344c522ee0726ee8855f98181c008cb414.tar.bz2
drakx-backup-do-not-use-c15a46344c522ee0726ee8855f98181c008cb414.tar.xz
drakx-backup-do-not-use-c15a46344c522ee0726ee8855f98181c008cb414.zip
add "Security level" in summary
-rw-r--r--perl-install/install_steps_interactive.pm14
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;