aboutsummaryrefslogtreecommitdiffstats
path: root/collect-wireless-mac.capsman
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-02-21 18:37:19 +0100
committerGravatar Christian Hesse <mail@eworm.de>2019-02-21 20:16:03 +0100
commite72b3dd4f1d8f0dc668bf30bf40ecb7d341338e3 (patch)
treec36ce2300163e723a701236b8f6bf1605af18ffe /collect-wireless-mac.capsman
parentfe1d234025f356f46b0e8b85de8b96193c0e95b5 (diff)
collect-wireless-mac: use $ScriptLock
Diffstat (limited to 'collect-wireless-mac.capsman')
-rw-r--r--collect-wireless-mac.capsman3
1 files changed, 3 insertions, 0 deletions
diff --git a/collect-wireless-mac.capsman b/collect-wireless-mac.capsman
index bda3415..4e5a7b0 100644
--- a/collect-wireless-mac.capsman
+++ b/collect-wireless-mac.capsman
@@ -10,6 +10,9 @@
:global GetMacVendor;
:global SendNotification;
+:global ScriptLock;
+
+$ScriptLock "collect-wireless-mac.capsman";
:local PlaceBefore [ / caps-man access-list find where comment="--- collected above ---" disabled ];
:if ([ :len $PlaceBefore ] = 0) do={