diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2010-02-19 15:37:49 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2010-02-19 15:37:49 +0000 |
commit | 0bae0a393bd528d6e198e8a1f09ca97f0c7fd6b9 (patch) | |
tree | 4addeb30521123a750b5d6502da1087d3aa62785 /cron-sh | |
parent | aad9b86b21b8456559b17fba2463bda87858e6ea (diff) | |
download | msec-0bae0a393bd528d6e198e8a1f09ca97f0c7fd6b9.tar msec-0bae0a393bd528d6e198e8a1f09ca97f0c7fd6b9.tar.gz msec-0bae0a393bd528d6e198e8a1f09ca97f0c7fd6b9.tar.bz2 msec-0bae0a393bd528d6e198e8a1f09ca97f0c7fd6b9.tar.xz msec-0bae0a393bd528d6e198e8a1f09ca97f0c7fd6b9.zip |
Save periodic check results according to check type.
Diffstat (limited to 'cron-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 cd2fd29..54c1943 100755 --- a/cron-sh/security.sh +++ b/cron-sh/security.sh @@ -41,8 +41,8 @@ CURRENT_CHECK_TYPE=$(current_check_type) # variables LCK=/var/run/msec-security.pid SECURITY_LOG="/var/log/security.log" -MAIL_LOG_TODAY="/var/log/security/mail.today" -MAIL_LOG_YESTERDAY="/var/log/security/mail.yesterday" +MAIL_LOG_TODAY="/var/log/security/mail.${CURRENT_CHECK_TYPE}.today" +MAIL_LOG_YESTERDAY="/var/log/security/mail.${CURRENT_CHECK_TYPE}.yesterday" # log formatting REPORT_DATE=`date "+%b %d %H:%M:%S"` |