aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-06-28 00:07:59 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-07-01 22:52:38 +0200
commitdf43f6101814f241279919ba482ca700c80d6ca6 (patch)
tree9276019227e41b551cfa618439c8c3245a92d39a
parent3f893a327d3892e5f29dacadc754b9999b91d097 (diff)
collect-wireless-mac: wait when locking script
-rw-r--r--collect-wireless-mac.capsman2
-rw-r--r--collect-wireless-mac.local2
-rw-r--r--collect-wireless-mac.template2
3 files changed, 3 insertions, 3 deletions
diff --git a/collect-wireless-mac.capsman b/collect-wireless-mac.capsman
index 8ec6d61..3137aa6 100644
--- a/collect-wireless-mac.capsman
+++ b/collect-wireless-mac.capsman
@@ -22,7 +22,7 @@
:global SendNotification2;
:global SymbolForNotification;
-$ScriptLock $0;
+$ScriptLock $0 false 10;
:if ([ :len [ / caps-man access-list find where comment="--- collected above ---" disabled ] ] = 0) do={
/ caps-man access-list add comment="--- collected above ---" disabled=yes;
diff --git a/collect-wireless-mac.local b/collect-wireless-mac.local
index 771986e..0284acf 100644
--- a/collect-wireless-mac.local
+++ b/collect-wireless-mac.local
@@ -22,7 +22,7 @@
:global SendNotification2;
:global SymbolForNotification;
-$ScriptLock $0;
+$ScriptLock $0 false 10;
:if ([ :len [ / interface wireless access-list find where comment="--- collected above ---" disabled ] ] = 0) do={
/ interface wireless access-list add comment="--- collected above ---" disabled=yes;
diff --git a/collect-wireless-mac.template b/collect-wireless-mac.template
index 311b72a..8ccfeff 100644
--- a/collect-wireless-mac.template
+++ b/collect-wireless-mac.template
@@ -23,7 +23,7 @@
:global SendNotification2;
:global SymbolForNotification;
-$ScriptLock $0;
+$ScriptLock $0 false 10;
:if ([ :len [ / %PATH% access-list find where comment="--- collected above ---" disabled ] ] = 0) do={
/ %PATH% access-list add comment="--- collected above ---" disabled=yes;