mirror of https://github.com/OpenIPC/firmware.git
Add show_gain alias to profile
parent
4fee1e362d
commit
00bf4e9a6d
|
@ -49,6 +49,10 @@ show_wlan() {
|
||||||
grep -r '$1..=' /etc/wireless | cut -d '"' -f 4 | sort | grep -e $(fw_printenv -n soc) -e generic
|
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() {
|
network() {
|
||||||
/etc/init.d/S40network "$1"
|
/etc/init.d/S40network "$1"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue