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/any.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/any.pm')
-rw-r--r-- | perl-install/any.pm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 96dd5b657..2b00d9534 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -1131,13 +1131,6 @@ sub ask_window_manager_to_logout { 1; } -sub get_secure_level { - cat_("$::prefix/etc/profile") =~ /export SECURE_LEVEL=(\d+)/ && $1 || #- 8.0 msec - cat_("$::prefix/etc/profile.d/msec.sh") =~ /export SECURE_LEVEL=(\d+)/ && $1 || #- 8.1 msec - ${{ getVarsFromSh("$::prefix/etc/sysconfig/msec") }}{SECURE_LEVEL} || #- 8.2 msec - $ENV{SECURE_LEVEL}; -} - sub alloc_raw_device { my ($prefix, $device) = @_; my $used = 0; |