This commit is contained in:
12600k-rog-d4
2026-08-24 00:35:30 +08:00
parent 32b308bc08
commit b673ed62f9
24 changed files with 483 additions and 393 deletions

View File

@@ -0,0 +1,11 @@
echo '===MONITOR:dmesg==='
DMESG_ERR=$(dmesg --level=err,crit,alert,emerg 2>/dev/null | tail -30 || true)
if [ -n "$DMESG_ERR" ]; then
echo 'status:fail'
echo "output:${DMESG_ERR}"
else
echo 'status:pass'
echo 'output:无硬件相关内核报错'
fi
echo ''
echo '===END==='