mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-22 03:44:49 +02:00
collect-wireless-mac: wait when locking script
This commit is contained in:
parent
3f893a327d
commit
df43f61018
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue