From e72b3dd4f1d8f0dc668bf30bf40ecb7d341338e3 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 21 Feb 2019 18:37:19 +0100 Subject: collect-wireless-mac: use $ScriptLock --- collect-wireless-mac.capsman | 3 +++ 1 file changed, 3 insertions(+) (limited to 'collect-wireless-mac.capsman') 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={ -- cgit v1.2.3-70-g09d2