aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hotspot-to-wpa-cleanup3
1 files changed, 3 insertions, 0 deletions
diff --git a/hotspot-to-wpa-cleanup b/hotspot-to-wpa-cleanup
index 2c418cd..69a1119 100644
--- a/hotspot-to-wpa-cleanup
+++ b/hotspot-to-wpa-cleanup
@@ -13,6 +13,9 @@
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
:global LogPrintExit2;
+:global ScriptLock;
+
+$ScriptLock $0 false 10;
:foreach Client in=[ / caps-man registration-table find where comment~"^hotspot-to-wpa:" ] do={
:local ClientVal [ / caps-man registration-table get $Client ];