mirror of
https://github.com/Heleguo/lede.git
synced 2025-12-24 23:01:23 +00:00
show CPU Temperature for NanoPi R2S (#5612)
Co-authored-by: Yangbo Wei <467815891@qq.com>
This commit is contained in:
parent
0bfbe98823
commit
099439f051
@ -0,0 +1,2 @@
|
||||
sed -i "/<%:Load Average%>/i\\\t\t<tr><td width="33%"><%:CPU Temperature%></td><td><%=luci.sys.exec(\"cut -c1-3 /sys/class/thermal/thermal_zone0/temp | awk '{print \$1/10.0}'\")%>℃</td></tr>" /usr/lib/lua/luci/view/admin_status/index.htm
|
||||
rm /lib/preinit/82_show_temp
|
||||
Loading…
Reference in New Issue
Block a user