aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-02-22 19:38:35 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-02-22 19:38:35 +0000
commitc07cb4ca12fef61c542abf7e5fdccb17bf88132a (patch)
treec8016bd059b0528fadacb0ebb30955a71d59c407
parent34574228404994c812086fd30bb7f78a49d7c3df (diff)
downloadmsec-c07cb4ca12fef61c542abf7e5fdccb17bf88132a.tar
msec-c07cb4ca12fef61c542abf7e5fdccb17bf88132a.tar.gz
msec-c07cb4ca12fef61c542abf7e5fdccb17bf88132a.tar.bz2
msec-c07cb4ca12fef61c542abf7e5fdccb17bf88132a.tar.xz
msec-c07cb4ca12fef61c542abf7e5fdccb17bf88132a.zip
security.conf from /etc/security/msec/ to /var/lib/msec/.
-rwxr-xr-xcron-sh/diff_check.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/cron-sh/diff_check.sh b/cron-sh/diff_check.sh
index 7588877..1441c49 100755
--- a/cron-sh/diff_check.sh
+++ b/cron-sh/diff_check.sh
@@ -3,13 +3,17 @@
# Written by Vandoorselaere Yoann, <yoann@mandrakesoft.com>
#
-if [[ -f /etc/security/msec/security.conf ]]; then
- . /etc/security/msec/security.conf
+if [[ -f /var/lib/msec/security.conf ]]; then
+ . /var/lib/msec/security.conf
else
- echo "/etc/security/msec/security.conf don't exist."
+ echo "/var/lib/msec/security.conf don't exist."
exit 1
fi
+if [[ -f /etc/security/msec/security.conf ]]; then
+ . /etc/security/msec/security.conf
+fi
+
if [[ ${CHECK_SECURITY} == no ]]; then
exit 0
fi