aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-09 10:07:56 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-09 10:07:56 +0000
commit8cf02ef57b2d33efa26dd8d03e74548c81ce2725 (patch)
tree133a74df37c96c47abf10886b0a206f3c7e2eb66
parent7ed88ddf518e642fd4a95f6f0975ef0425b4bb04 (diff)
downloadmsec-8cf02ef57b2d33efa26dd8d03e74548c81ce2725.tar
msec-8cf02ef57b2d33efa26dd8d03e74548c81ce2725.tar.gz
msec-8cf02ef57b2d33efa26dd8d03e74548c81ce2725.tar.bz2
msec-8cf02ef57b2d33efa26dd8d03e74548c81ce2725.tar.xz
msec-8cf02ef57b2d33efa26dd8d03e74548c81ce2725.zip
*** empty log message ***
-rw-r--r--ChangeLog3
-rwxr-xr-xcron-sh/diff_check.sh4
-rwxr-xr-xcron-sh/security_check.sh2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 896d675..d4d2cbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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