diff options
Diffstat (limited to 'cron-sh/security.sh')
-rwxr-xr-x | cron-sh/security.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh index 982c4e3..f7dc729 100755 --- a/cron-sh/security.sh +++ b/cron-sh/security.sh @@ -173,7 +173,7 @@ fi ### rpm database check -if [[ ${RPM_CHECK} == yes ]]; then +if [[ ${CHECK_RPM} == yes ]]; then rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}\t%{INSTALLTIME}\n" | sort > ${RPM_QA_TODAY} rm -f ${RPM_VA_TODAY}.tmp @@ -184,7 +184,7 @@ if [[ ${RPM_CHECK} == yes ]]; then fi ### chkrootkit checks -if [[ ${CHKROOTKIT_CHECK} == yes ]]; then +if [[ ${CHECK_CHKROOTKIT} == yes ]]; then if [ -x /usr/sbin/chkrootkit ]; then /usr/sbin/chkrootkit ${CHKROOTKIT_OPTION} > ${CHKROOTKIT_TODAY} fi |