diff options
Diffstat (limited to 'init-sh/level4.sh')
-rwxr-xr-x | init-sh/level4.sh | 12 |
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 |