mirror of https://github.com/OpenIPC/firmware.git
[no ci] Overlay: update show_gain function
parent
304ea8e574
commit
d43c898667
|
@ -45,12 +45,12 @@ set_fullname() {
|
|||
show_fullname >/etc/hostname
|
||||
}
|
||||
|
||||
show_wlan() {
|
||||
grep -r '$1..=' /etc/wireless | cut -d '"' -f 4 | sort | grep -e $(fw_printenv -n soc) -e generic
|
||||
show_gain() {
|
||||
while sleep 1; do wget -q -O - http://127.0.0.1/metrics | grep ^isp_again; done
|
||||
}
|
||||
|
||||
show_gain() {
|
||||
while sleep 1 ; do curl -s http://localhost/metrics | grep ^isp_again | cut -d' ' -f2; done
|
||||
show_wlan() {
|
||||
grep -r '$1..=' /etc/wireless | cut -d '"' -f 4 | sort | grep -e $(fw_printenv -n soc) -e generic
|
||||
}
|
||||
|
||||
network() {
|
||||
|
|
Loading…
Reference in New Issue