diff options
author | Christian Hesse <mail@eworm.de> | 2021-06-28 00:13:16 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-07-01 22:52:38 +0200 |
commit | 08b1b72fa9bda0f08eeaf28fd7d83d6e0e06389f (patch) | |
tree | f73e9d05fd092698b69e327ec43fa677745a320e | |
parent | 64b53d23224e6e4852910105774adf4529732189 (diff) |
hotspot-to-wpa-cleanup: lock script (and wait)
-rw-r--r-- | hotspot-to-wpa-cleanup | 3 |
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 ]; |