summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-04 20:57:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-04 20:57:39 +0000
commitc812ba64f35ce57dd44927b6b02d6a06f8f5d2ee (patch)
treeaa804cfcc925854bc4d4b602b7ebf97291359b45
parentdd0db5e6cdff3e561b88d1e55e26628a7655ec38 (diff)
downloaddrakx-backup-do-not-use-c812ba64f35ce57dd44927b6b02d6a06f8f5d2ee.tar
drakx-backup-do-not-use-c812ba64f35ce57dd44927b6b02d6a06f8f5d2ee.tar.gz
drakx-backup-do-not-use-c812ba64f35ce57dd44927b6b02d6a06f8f5d2ee.tar.bz2
drakx-backup-do-not-use-c812ba64f35ce57dd44927b6b02d6a06f8f5d2ee.tar.xz
drakx-backup-do-not-use-c812ba64f35ce57dd44927b6b02d6a06f8f5d2ee.zip
fix creating /etc/security/msec/server
-rw-r--r--perl-install/install_steps.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index bc7752b2a..5048efeec 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -927,9 +927,11 @@ sub miscellaneousBefore {
$ENV{SECURE_LEVEL} = $o->{security};
- mkdir_p("$o->{prefix}/etc/sysconfig/msec");
- symlink "server.$o->{security}", "/etc/security/msec/server" if $o->{security} > 3;
-
+ addToBeDone {
+ mkdir_p("$o->{prefix}/etc/security/msec");
+ symlink "server.$o->{security}", "$o->{prefix}/etc/security/msec/server" if $o->{security} > 3;
+ } 'formatPartitions';
+
add2hash_ $o, { useSupermount => 1 && $o->{security} < 4 && arch() !~ /sparc/ && !$::corporate };
add2hash_($o->{miscellaneous} ||= {}, { numlock => !detect_devices::isLaptop() });