Add show_gain alias to profile

pull/1220/head
Igor Zalatov (from Citadel PC) 2023-12-30 00:58:44 +03:00
parent 4fee1e362d
commit 00bf4e9a6d
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ 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 curl -s http://localhost/metrics | grep ^isp_again | cut -d' ' -f2; done
}
network() {
/etc/init.d/S40network "$1"
}