Update openwrt_wifi_up.sh

This commit is contained in:
tech 2024-04-16 14:42:39 +02:00
parent 9cca954710
commit e9e56b57a1
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
### This script checks if the 2 wifi interfaces are UP and ENABLED
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")
DEVICE_STATUS=$(wifi status | grep -c "\"disabled\": false")