aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/lib.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2001-09-19 09:37:07 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2001-09-19 09:37:07 +0000
commitb823911b919ccbef518fd7c7e00c0a3992ad69b8 (patch)
tree6d986c553f8c3385947c93073c38cb4854b6ba25 /init-sh/lib.sh
parent2f50414619fa5041ae0249ee29fe9fb807f4aa13 (diff)
downloadmsec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.tar
msec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.tar.gz
msec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.tar.bz2
msec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.tar.xz
msec-b823911b919ccbef518fd7c7e00c0a3992ad69b8.zip
*** empty log message ***
Diffstat (limited to 'init-sh/lib.sh')
-rw-r--r--init-sh/lib.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index 25711e9..9fb580f 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -333,6 +333,15 @@ else
chmod 755 /etc/X11/xinit.d/msec
fi
+
+if [[ -f /etc/profile.d/msec ]]; then
+ CleanRules /etc/profile.d/msec
+else
+ touch /etc/profile.d/msec
+ chmod 755 /etc/profile.d/msec
+fi
+
+
echo -e "\nStarting to reconfigure the system : "
# For all secure level
echo "Setting spoofing protection : "