利用finalshell打开/usr/lib/lua/luci/view/admin_status目录打开index.htm;

在Kernel Version下另起一行加

<tr><td width="33%"><%:CPU Temperature%></td><td><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%>℃</td></tr>
Categories: 未分类

0 Comments

发表回复

Avatar placeholder

您的电子邮箱地址不会被公开。 必填项已用 * 标注