[no ci] Overlay: update show_gain function

pull/1281/head
Viktor 2024-01-24 09:33:05 +01:00
parent 304ea8e574
commit d43c898667
1 changed files with 4 additions and 4 deletions

View File

@ -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() {