hotspot-to-wpa-cleanup: lock script (and wait)

This commit is contained in:
Christian Hesse 2021-06-28 00:13:16 +02:00
parent 64b53d2322
commit 08b1b72fa9
1 changed files with 3 additions and 0 deletions

View File

@ -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 ];