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 | |
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 ***
-rw-r--r-- | ChangeLog | 3 | ||||
-rwxr-xr-x | cron-sh/diff_check.sh | 4 | ||||
-rwxr-xr-x | cron-sh/security_check.sh | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,6 @@ +1999-12-09 Yoann Vandoorselaere <yoann@mandrakesoft.com> + * security_cjheck.sh: print header at begining of the log. + * diff_check.sh: typo. 1999-12-08 Yoann Vandoorselaere <yoann@mandrakesoft.com> * security_check.sh: remove /tmp stuff. * security_check.sh: typo 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 |