mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-02 09:15:03 +02:00
lease-script: use 'print count-only'
This commit is contained in:
parent
7843574cd6
commit
313cc2913a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue