aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-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 : "