summaryrefslogtreecommitdiffstats
path: root/etc/periodic
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-06-28 10:32:18 +0000
committerbrian <brian@FreeBSD.org>2002-06-28 10:32:18 +0000
commitc4dd2bd45f996c6de6b375662b9a30d8d6bf9812 (patch)
tree7cdae031999696c00f0fa889f284e2dbc86592d0 /etc/periodic
parent9daefc781779df0de37febe40738c040127cfd1a (diff)
downloadFreeBSD-src-c4dd2bd45f996c6de6b375662b9a30d8d6bf9812.zip
FreeBSD-src-c4dd2bd45f996c6de6b375662b9a30d8d6bf9812.tar.gz
Mention that we're checking kernel log messages, even if there's
no output. PR: 39618 MFC after: 1 week
Diffstat (limited to 'etc/periodic')
-rwxr-xr-xetc/periodic/security/700.kernelmsg4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/periodic/security/700.kernelmsg b/etc/periodic/security/700.kernelmsg
index b4fcfce..c1af584 100755
--- a/etc/periodic/security/700.kernelmsg
+++ b/etc/periodic/security/700.kernelmsg
@@ -52,10 +52,10 @@ case "$daily_status_security_kernelmsg_enable" in
cp ${TMP} ${LOG}/dmesg.today || rc=3
fi
+ echo ""
+ echo "${host} kernel log messages:"
if ! cmp ${LOG}/dmesg.today ${TMP} >/dev/null 2>&1; then
[ $rc -lt 1 ] && rc=1
- echo ""
- echo "${host} kernel log messages:"
diff -b ${LOG}/dmesg.today ${TMP} | egrep "^>"
mv ${LOG}/dmesg.today ${LOG}/dmesg.yesterday || rc=3
mv ${TMP} ${LOG}/dmesg.today || rc=3
OpenPOWER on IntegriCloud