diff options
author | Christian Belisle <cbelisle@mandriva.com> | 2002-07-31 16:39:40 +0000 |
---|---|---|
committer | Christian Belisle <cbelisle@mandriva.com> | 2002-07-31 16:39:40 +0000 |
commit | b7402680a094b22e3c82847a886a5a2dc727241c (patch) | |
tree | 3324f8b1f2d491daa724ab89bffc72ebdd9555ad /perl-install/security/main.pm | |
parent | 696238ea0cd4a47e8dd125445f21916a7e75a630 (diff) | |
download | drakx-b7402680a094b22e3c82847a886a5a2dc727241c.tar drakx-b7402680a094b22e3c82847a886a5a2dc727241c.tar.gz drakx-b7402680a094b22e3c82847a886a5a2dc727241c.tar.bz2 drakx-b7402680a094b22e3c82847a886a5a2dc727241c.tar.xz drakx-b7402680a094b22e3c82847a886a5a2dc727241c.zip |
- Factorize options-related functions
- s/choose_options/choose_functions
- Added security checks page
Diffstat (limited to 'perl-install/security/main.pm')
-rw-r--r-- | perl-install/security/main.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/security/main.pm b/perl-install/security/main.pm index 65e346b7b..3702b9636 100644 --- a/perl-install/security/main.pm +++ b/perl-install/security/main.pm @@ -27,12 +27,12 @@ sub show_page { if ($page == 2) { if(security::msec::choose_checks($in, \%options, \$signal, $security)) { foreach $key (keys %options) { - security::msec::set_check('', $key, $options{$key}); + security::msec::config_option('', $key, $options{$key}, "checks"); } } } elsif ($page == 1) { - if(security::msec::choose_options($in, \%options, \$signal, $security)) { + if(security::msec::choose_functions($in, \%options, \$signal, $security)) { foreach $key (keys %options) { - security::msec::config_option('', $key, $options{$key}); + security::msec::config_option('', $key, $options{$key}, "functions"); } } } elsif ($page == 0) { if(security::msec::choose_security_level($in, \$security, \$libsafe, \$sec_user, \$signal)) { |