aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--collect-wireless-mac.capsman3
-rw-r--r--collect-wireless-mac.local3
-rw-r--r--collect-wireless-mac.template3
3 files changed, 9 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={
diff --git a/collect-wireless-mac.local b/collect-wireless-mac.local
index 5bbfa47..4a4d6e1 100644
--- a/collect-wireless-mac.local
+++ b/collect-wireless-mac.local
@@ -10,6 +10,9 @@
:global GetMacVendor;
:global SendNotification;
+:global ScriptLock;
+
+$ScriptLock "collect-wireless-mac.local";
:local PlaceBefore [ / interface wireless access-list find where comment="--- collected above ---" disabled ];
:if ([ :len $PlaceBefore ] = 0) do={
diff --git a/collect-wireless-mac.template b/collect-wireless-mac.template
index 5a969b8..2449316 100644
--- a/collect-wireless-mac.template
+++ b/collect-wireless-mac.template
@@ -11,6 +11,9 @@
:global GetMacVendor;
:global SendNotification;
+:global ScriptLock;
+
+$ScriptLock "collect-wireless-mac%TEMPL%";
:local PlaceBefore [ / %PATH% access-list find where comment="--- collected above ---" disabled ];
:if ([ :len $PlaceBefore ] = 0) do={