aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/lib.sh
diff options
context:
space:
mode:
authorFlorin Grad <florin@mandriva.com>2001-11-29 13:39:54 +0000
committerFlorin Grad <florin@mandriva.com>2001-11-29 13:39:54 +0000
commitfe8aabf06b6bac740206b0faa1fbc79dd81b8452 (patch)
tree4c8d4321971cf072ec2258b8f4ee4447e0ad9cfc /init-sh/lib.sh
parent074a50b08907b866707e7a9db0509f874c7cf969 (diff)
downloadmsec-fe8aabf06b6bac740206b0faa1fbc79dd81b8452.tar
msec-fe8aabf06b6bac740206b0faa1fbc79dd81b8452.tar.gz
msec-fe8aabf06b6bac740206b0faa1fbc79dd81b8452.tar.bz2
msec-fe8aabf06b6bac740206b0faa1fbc79dd81b8452.tar.xz
msec-fe8aabf06b6bac740206b0faa1fbc79dd81b8452.zip
clean the entries related to the profile.d/msec*sh files
Diffstat (limited to 'init-sh/lib.sh')
-rw-r--r--init-sh/lib.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index 414ff5f..a000786 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -338,8 +338,6 @@ CleanRules /etc/logrotate.conf
CleanRules /etc/rc.d/rc.local
CleanRules /etc/rc.d/rc.firewall
CleanRules /etc/crontab
-CleanRules /etc/profile
-CleanRules /etc/zprofile
if [[ -f /etc/X11/xinit.d/msec ]]; then
CleanRules /etc/X11/xinit.d/msec
@@ -348,15 +346,6 @@ else
chmod 755 /etc/X11/xinit.d/msec
fi
-
-if [[ -f /etc/profile.d/msec.sh && -f /etc/profile.d/msec.csh ]]; then
- CleanRules /etc/profile.d/msec.sh
- CleanRules /etc/profile.d/msec.csh
-else
- chmod 755 /etc/profile.d/msec.sh
- chmod 755 /etc/profile.d/msec.csh
-fi
-
echo -e "\nStarting to reconfigure the system : "
# For all secure level
echo "Setting spoofing protection : "