From 60ad3dd13bc18d5654b0381e6b5ae23f3fbcd62d Mon Sep 17 00:00:00 2001 From: tech Date: Tue, 16 Apr 2024 12:32:40 +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 9d39c2b..f438d31 100755 --- a/openwrt_wifi_up.sh +++ b/openwrt_wifi_up.sh @@ -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")