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:
parent
4633a1ab99
commit
103efc95e8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98972
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user