Update openwrt_wifi_up.sh
This commit is contained in:
parent
7cb27ea620
commit
60ad3dd13b
|
@ -4,7 +4,7 @@
|
|||
|
||||
### This script checks if the 2 wifi interfaces are UP and ENABLED
|
||||
|
||||
HOST="$(cat system | grep "hostname")"
|
||||
HOST="$(cat /etc/config/system | grep "hostname")"
|
||||
topicurl=https://172.26.0.15/net_alerts
|
||||
|
||||
RADIO_STATUS=$(wifi status | grep -c "\"up\": true")
|
||||
|
|
Loading…
Reference in New Issue