aboutsummaryrefslogtreecommitdiffstats
path: root/hotspot-to-wpa
diff options
context:
space:
mode:
Diffstat (limited to 'hotspot-to-wpa')
-rw-r--r--hotspot-to-wpa3
1 files changed, 3 insertions, 0 deletions
diff --git a/hotspot-to-wpa b/hotspot-to-wpa
index ca11775..09283cf 100644
--- a/hotspot-to-wpa
+++ b/hotspot-to-wpa
@@ -6,6 +6,9 @@
# add private WPA passphrase after hotspot login
# https://git.eworm.de/cgit/routeros-scripts/about/doc/hotspot-to-wpa.md
+:global GlobalFunctionsReady;
+:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
+
:global LogPrintExit;
:local MacAddress $"mac-address";