Update openwrt_wifi_up.sh
This commit is contained in:
parent
9cca954710
commit
e9e56b57a1
|
@ -5,7 +5,7 @@
|
||||||
### This script checks if the 2 wifi interfaces are UP and ENABLED
|
### This script checks if the 2 wifi interfaces are UP and ENABLED
|
||||||
|
|
||||||
HOST="$(cat /etc/config/system | grep "hostname" | awk '{print $3}')"
|
HOST="$(cat /etc/config/system | grep "hostname" | awk '{print $3}')"
|
||||||
topicurl=https://172.26.0.15/hangar_servers
|
topicurl=https://NTFY_SERVER_IP/hangar_servers
|
||||||
|
|
||||||
RADIO_STATUS=$(wifi status | grep -c "\"up\": true")
|
RADIO_STATUS=$(wifi status | grep -c "\"up\": true")
|
||||||
DEVICE_STATUS=$(wifi status | grep -c "\"disabled\": false")
|
DEVICE_STATUS=$(wifi status | grep -c "\"disabled\": false")
|
||||||
|
|
Loading…
Reference in New Issue