diff --git a/openwrt_wifi_up.sh b/openwrt_wifi_up.sh index a0b13fa..544af3f 100755 --- a/openwrt_wifi_up.sh +++ b/openwrt_wifi_up.sh @@ -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")