aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
Diffstat (limited to 'cron-sh')
-rwxr-xr-xcron-sh/diff_check.sh4
-rwxr-xr-xcron-sh/security_check.sh2
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