mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
lease-script: use 'print count-only'
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
:delay 1s;
|
||||
|
||||
:foreach script in=$scripts do={
|
||||
:if ([ :len [ / system script find where name=$script ] ] > 0) do={
|
||||
:if ([ / system script print count-only where name=$script ] > 0) do={
|
||||
:log debug ("Running script from lease-script: " . $script);
|
||||
/ system script run $script;
|
||||
}
|
||||
|
Reference in New Issue
Block a user