From e9e56b57a1ad1e37b0d0cf38b7e0bd81c3c1a56d Mon Sep 17 00:00:00 2001 From: tech Date: Tue, 16 Apr 2024 14:42:39 +0200 Subject: [PATCH] Update openwrt_wifi_up.sh --- openwrt_wifi_up.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")