diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-11-19 13:37:21 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-11-19 13:37:21 +0000 |
commit | 7d9973538da0ffaf2c95412393f072c330bd2c5e (patch) | |
tree | 7932f10f636c0ea4b89e9b2968e62985136db3ee /perl-install/install_steps.pm | |
parent | c77b3d5c4e8832b4bc3ca66c0ef23c1427b046bd (diff) | |
download | drakx-backup-do-not-use-7d9973538da0ffaf2c95412393f072c330bd2c5e.tar drakx-backup-do-not-use-7d9973538da0ffaf2c95412393f072c330bd2c5e.tar.gz drakx-backup-do-not-use-7d9973538da0ffaf2c95412393f072c330bd2c5e.tar.bz2 drakx-backup-do-not-use-7d9973538da0ffaf2c95412393f072c330bd2c5e.tar.xz drakx-backup-do-not-use-7d9973538da0ffaf2c95412393f072c330bd2c5e.zip |
- fix duplication of sec level setting:
merge any::get_secure_level() with
secure::msec::get_secure_level()
- move security level functions from secure::msec
to secure::level
- uses secure::level in install_steps
- fix duplication of security level labels
- draksec: use same strings in drakx, got nice
translations
- get_default_checks(): make it more readable
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 738cb5290..6df6bd0d2 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -950,7 +950,8 @@ sub miscellaneousBefore { my %s = getVarsFromSh("$o->{prefix}/etc/sysconfig/system"); $o->{miscellaneous}{HDPARM} = $s{HDPARM} if exists $s{HDPARM}; - $o->{security} ||= any::get_secure_level() || ($o->{meta_class} =~ /server|firewall/ ? 3 : 2); + require security::level; + $o->{security} ||= security::level::get() || ($o->{meta_class} =~ /server|firewall/ ? 3 : 2); $o->{security_user} ||= any::config_security_user($o->{prefix}); $o->{libsafe} ||= any::config_libsafe($o->{prefix}); |