diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-02-22 19:38:35 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-02-22 19:38:35 +0000 |
commit | c07cb4ca12fef61c542abf7e5fdccb17bf88132a (patch) | |
tree | c8016bd059b0528fadacb0ebb30955a71d59c407 /cron-sh/diff_check.sh | |
parent | 34574228404994c812086fd30bb7f78a49d7c3df (diff) | |
download | msec-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/.
Diffstat (limited to 'cron-sh/diff_check.sh')
-rwxr-xr-x | cron-sh/diff_check.sh | 10 |
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 |