feat: 飞牛NAS成本审核更新 - 新增SKU、更新价格表、清理归档及订单记录,同步auto-check改动
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
echo '===MONITOR:dmesg==='
|
||||
DMESG_ERR=$(dmesg --level=err,crit,alert,emerg 2>/dev/null | tail -30 || true)
|
||||
# -T 输出人类可读时间戳(如 [Mon Aug 24 10:23:45 2026]),
|
||||
# 依赖挂载宿主机 /etc/localtime 保证时区正确;老内核不支持 -T 时回退
|
||||
DMESG_ERR=$(dmesg -T --level=err,crit,alert,emerg 2>/dev/null | tail -30)
|
||||
if [ -z "$DMESG_ERR" ]; then
|
||||
DMESG_ERR=$(dmesg --level=err,crit,alert,emerg 2>/dev/null | tail -30 || true)
|
||||
fi
|
||||
if [ -n "$DMESG_ERR" ]; then
|
||||
echo 'status:fail'
|
||||
echo "output:${DMESG_ERR}"
|
||||
|
||||
Reference in New Issue
Block a user