Mention that we're checking kernel log messages, even if there's

no output.

PR:		39618
MFC after:	1 week
This commit is contained in:
brian 2002-06-28 10:32:18 +00:00
parent 9daefc7817
commit c4dd2bd45f

View File

@ -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