aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level4.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2000-03-07 16:45:04 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2000-03-07 16:45:04 +0000
commit7b7859e7b69b54e30eb181857e608f5cccce999a (patch)
tree56ac44e36fe8e86506db726b5e54ebc9e3f82222 /init-sh/level4.sh
parente67d4c05d0d218ede7f02ffc9b86dc2c95f75d1d (diff)
downloadmsec-7b7859e7b69b54e30eb181857e608f5cccce999a.tar
msec-7b7859e7b69b54e30eb181857e608f5cccce999a.tar.gz
msec-7b7859e7b69b54e30eb181857e608f5cccce999a.tar.bz2
msec-7b7859e7b69b54e30eb181857e608f5cccce999a.tar.xz
msec-7b7859e7b69b54e30eb181857e608f5cccce999a.zip
*** empty log message ***
Diffstat (limited to 'init-sh/level4.sh')
-rwxr-xr-xinit-sh/level4.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/init-sh/level4.sh b/init-sh/level4.sh
index 18d9aac..75a0e85 100755
--- a/init-sh/level4.sh
+++ b/init-sh/level4.sh
@@ -6,10 +6,10 @@
# Writen by Vandoorselaere Yoann <yoann@mandrakesoft.com>
#
-
-if [[ -f /etc/security/msec/init-sh/lib.sh ]]; then
- . /etc/security/msec/init-sh/lib.sh
+if [[ -f /usr/share/msec/lib.sh ]]; then
+ . /usr/share/msec/lib.sh
else
+ echo "Can't find /usr/share/msec/lib.sh, exiting."
exit 1
fi
@@ -68,10 +68,10 @@ echo -e "\t- Security warning in syslog : yes."
# Check every 1 minutes for promisc problem
echo "Adding promisc check in crontab (scheduled every minutes) :"
-AddRules "*/1 * * * * root /etc/security/msec/cron-sh/promisc_check.sh" /etc/crontab
+AddRules "*/1 * * * * root /usr/share/msec/promisc_check.sh" /etc/crontab
echo "Adding \"diff\" & \"global\" security check in crontab (scheduled every midnight) :"
-AddRules "0 0 * * * root /etc/security/msec/cron-sh/security.sh" /etc/crontab
+AddRules "0 0 * * * root /usr/share/msec/security.sh" /etc/crontab
# Do you want a password ?
LiloUpdate;
@@ -88,7 +88,7 @@ IFS="
"
echo -n "Disabling all service, except : {"
for service in `chkconfig --list | awk '{print $1}'`; do
- if grep -qx ${service} /etc/security/msec/init-sh/server.4; then
+ if grep -qx ${service} /etc/security/msec/server.4; then
echo -n " ${service}"
fi
done