diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-02-19 19:08:48 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-02-19 19:08:48 +0000 |
commit | 2363ee2005c6a278d63cc8d73a7b25f0c21fac29 (patch) | |
tree | 5c12898fef285e4e134bdab5ff424e8c3ffb2872 /cron-sh | |
parent | 8f42bde49936ad19417e4952747c5574475b020b (diff) | |
download | msec-2363ee2005c6a278d63cc8d73a7b25f0c21fac29.tar msec-2363ee2005c6a278d63cc8d73a7b25f0c21fac29.tar.gz msec-2363ee2005c6a278d63cc8d73a7b25f0c21fac29.tar.bz2 msec-2363ee2005c6a278d63cc8d73a7b25f0c21fac29.tar.xz msec-2363ee2005c6a278d63cc8d73a7b25f0c21fac29.zip |
use /var/lib/msec/msec/security.conf
Diffstat (limited to 'cron-sh')
-rwxr-xr-x | cron-sh/security.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh index cabc812..4867819 100755 --- a/cron-sh/security.sh +++ b/cron-sh/security.sh @@ -1,11 +1,15 @@ #!/bin/bash -if [[ ! -f /etc/security/msec/security.conf ]]; then - echo "Can't access /etc/security/msec/security.conf." +if [[ ! -f /var/lib/msec/msec/security.conf ]]; then + echo "Can't access /var/lib/msec/msec/security.conf." exit 1 fi -. /etc/security/msec/security.conf +. /var/lib/msec/msec/security.conf + +if [ -r /etc/security/msec/security.conf ]; then + . /etc/security/msec/security.conf +fi if [ -r /etc/sysconfig/msec ]; then . /etc/sysconfig/msec |