aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/security.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cron-sh/security.sh')
-rwxr-xr-xcron-sh/security.sh10
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