diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-09 10:07:56 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-09 10:07:56 +0000 |
commit | 8cf02ef57b2d33efa26dd8d03e74548c81ce2725 (patch) | |
tree | 133a74df37c96c47abf10886b0a206f3c7e2eb66 /cron-sh | |
parent | 7ed88ddf518e642fd4a95f6f0975ef0425b4bb04 (diff) | |
download | msec-8cf02ef57b2d33efa26dd8d03e74548c81ce2725.tar msec-8cf02ef57b2d33efa26dd8d03e74548c81ce2725.tar.gz msec-8cf02ef57b2d33efa26dd8d03e74548c81ce2725.tar.bz2 msec-8cf02ef57b2d33efa26dd8d03e74548c81ce2725.tar.xz msec-8cf02ef57b2d33efa26dd8d03e74548c81ce2725.zip |
*** empty log message ***
Diffstat (limited to 'cron-sh')
-rwxr-xr-x | cron-sh/diff_check.sh | 4 | ||||
-rwxr-xr-x | cron-sh/security_check.sh | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cron-sh/diff_check.sh b/cron-sh/diff_check.sh index bef14be..4d6c89f 100755 --- a/cron-sh/diff_check.sh +++ b/cron-sh/diff_check.sh @@ -229,8 +229,8 @@ fi if [ -s ${TMP} ]; then Syslog ${TMP} Ttylog ${TMP} - date=`date` - echo -n "\n\n*** ${date} ***\n" >> ${SECURITY_LOG} + date=`date` + echo -e "\n\n*** Diff Check, ${date} ***\n" >> ${SECURITY_LOG} cat ${TMP} >> ${SECURITY_LOG} fi diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh index 0aebc15..cbcff0f 100755 --- a/cron-sh/security_check.sh +++ b/cron-sh/security_check.sh @@ -270,6 +270,8 @@ fi # end of CHECK_SECURITY if [ -s ${SECURITY} ]; then Syslog ${SECURITY} Ttylog ${SECURITY} + date=`date` + echo -e "\n\n*** Diff Check, ${date} ***\n" >> ${SECURITY_LOG} cat ${SECURITY} >> ${SECURITY_LOG} fi |