mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
collect-wireless-mac: wait when locking script
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
:global SendNotification2;
|
:global SendNotification2;
|
||||||
:global SymbolForNotification;
|
:global SymbolForNotification;
|
||||||
|
|
||||||
$ScriptLock $0;
|
$ScriptLock $0 false 10;
|
||||||
|
|
||||||
:if ([ :len [ / caps-man access-list find where comment="--- collected above ---" disabled ] ] = 0) do={
|
:if ([ :len [ / caps-man access-list find where comment="--- collected above ---" disabled ] ] = 0) do={
|
||||||
/ caps-man access-list add comment="--- collected above ---" disabled=yes;
|
/ caps-man access-list add comment="--- collected above ---" disabled=yes;
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
:global SendNotification2;
|
:global SendNotification2;
|
||||||
:global SymbolForNotification;
|
:global SymbolForNotification;
|
||||||
|
|
||||||
$ScriptLock $0;
|
$ScriptLock $0 false 10;
|
||||||
|
|
||||||
:if ([ :len [ / interface wireless access-list find where comment="--- collected above ---" disabled ] ] = 0) do={
|
:if ([ :len [ / interface wireless access-list find where comment="--- collected above ---" disabled ] ] = 0) do={
|
||||||
/ interface wireless access-list add comment="--- collected above ---" disabled=yes;
|
/ interface wireless access-list add comment="--- collected above ---" disabled=yes;
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
:global SendNotification2;
|
:global SendNotification2;
|
||||||
:global SymbolForNotification;
|
:global SymbolForNotification;
|
||||||
|
|
||||||
$ScriptLock $0;
|
$ScriptLock $0 false 10;
|
||||||
|
|
||||||
:if ([ :len [ / %PATH% access-list find where comment="--- collected above ---" disabled ] ] = 0) do={
|
:if ([ :len [ / %PATH% access-list find where comment="--- collected above ---" disabled ] ] = 0) do={
|
||||||
/ %PATH% access-list add comment="--- collected above ---" disabled=yes;
|
/ %PATH% access-list add comment="--- collected above ---" disabled=yes;
|
||||||
|
|||||||
Reference in New Issue
Block a user