mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
First version for oled
This commit is contained in:
parent
4f5c198a86
commit
2e0365edad
10 changed files with 364 additions and 172 deletions
6
luci-app-ouad/root/usr/sbin/status_page2.sh
Executable file
6
luci-app-ouad/root/usr/sbin/status_page2.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "router: $(uci -q get openmptcprouter.settings.version)"
|
||||
echo "server: $(uci -q get openmptcprouter.vps.omr_version)"
|
||||
echo "uptime: $(uptime | awk -F, '{sub(".*up ",x,$1);print $1,$2}' | sed 's/ */ /g')"
|
||||
echo "temp: $(awk '{printf("%.1f°C",$1/1e3)}' /sys/class/thermal/thermal_zone0/temp)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue