summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-04-03 18:09:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-04-03 18:09:20 +0000
commit06df2993fd756f308ac642f4b4825cd94b526209 (patch)
tree262305e13c6b573501282b0c4fb77ce0a8eefd26 /perl-install
parentec57f190cae5ae8655465de080eaf9a5a1ca4a89 (diff)
downloaddrakx-06df2993fd756f308ac642f4b4825cd94b526209.tar
drakx-06df2993fd756f308ac642f4b4825cd94b526209.tar.gz
drakx-06df2993fd756f308ac642f4b4825cd94b526209.tar.bz2
drakx-06df2993fd756f308ac642f4b4825cd94b526209.tar.xz
drakx-06df2993fd756f308ac642f4b4825cd94b526209.zip
setting /etc/sysconfig/msec for chkconfig which doesn't use $ENV{SECURE_LEVEL} anymore
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 0bfa4a2ba..f4ada12ad 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -949,11 +949,12 @@ sub miscellaneousAfter {
my ($o) = @_;
add2hash_ $o, { useSupermount => 1 && $o->{security} < 4 && arch() !~ /sparc/ && !$::corporate };
- $ENV{SECURE_LEVEL} = $o->{security};
+ $ENV{SECURE_LEVEL} = $o->{security}; #- deprecated with chkconfig 1.3.4-2mdk, uses /etc/sysconfig/msec
addToBeDone {
mkdir_p("$o->{prefix}/etc/security/msec");
symlink "server.$o->{security}", "$o->{prefix}/etc/security/msec/server" if $o->{security} > 3;
+ setVarsInSh("$o->{prefix}/etc/sysconfig/msec", { SECURE_LEVEL => $o->{security} });
} 'formatPartitions';
addToBeDone {