From 06df2993fd756f308ac642f4b4825cd94b526209 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 3 Apr 2002 18:09:20 +0000 Subject: setting /etc/sysconfig/msec for chkconfig which doesn't use $ENV{SECURE_LEVEL} anymore --- perl-install/install_steps.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.1