From df43f6101814f241279919ba482ca700c80d6ca6 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 28 Jun 2021 00:07:59 +0200 Subject: collect-wireless-mac: wait when locking script --- collect-wireless-mac.capsman | 2 +- collect-wireless-mac.local | 2 +- collect-wireless-mac.template | 2 +- 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; -- cgit v1.2.3-54-g00ecf