From 40a1a454122251d2dca171bbb87cb7cae3a34a6b Mon Sep 17 00:00:00 2001 From: Jakob Olsson Date: Fri, 22 Oct 2021 16:51:41 +0200 Subject: [PATCH] wifimngr: 05-wifi: publish wps over fronthauls when eth connected --- wifimngr/files/etc/hotplug.d/button/05-wifi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wifimngr/files/etc/hotplug.d/button/05-wifi b/wifimngr/files/etc/hotplug.d/button/05-wifi index 25eb30af5..9207b738d 100644 --- a/wifimngr/files/etc/hotplug.d/button/05-wifi +++ b/wifimngr/files/etc/hotplug.d/button/05-wifi @@ -57,6 +57,11 @@ supp_status() { return fi + if [ -f "/tmp/map.agent.bsta_global_disable" ]; then + echo "CONFIGURED" + return + fi + echo "UNCONFIGURED" }