aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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