1.filezilla里找到/usr/lib/lua/luci/view/admin_status/index.htm,
2.打开html文件,ctrl+f,搜索Kernel Version可以快速定位到我们需要修改的位置
3.<%:CPU Temperature%><%=luci.sys.exec(“cut -c1-2 /sys/class/thermal/thermal_zone0/temp”)%>
4.刷新下。
openwrt状态里添加CPU温度监控
最新推荐文章于 2026-06-08 10:26:25 发布
这篇博客指导如何在FileZilla中定位admin_status/index.htm文件,通过搜索更新KernelVersion找到CPUTemperature部分,修改为使用lua执行系统命令获取CPU温度。操作步骤包括文件查找、快速定位和刷新查看结果。

4909

被折叠的 条评论
为什么被折叠?



