mirror of
https://github.com/gbudny93/RouterOS_Useful_Scripts.git
synced 2025-06-24 18:58:37 +02:00
Update
This commit is contained in:
parent
50874b1760
commit
c46ad9c453
1 changed files with 4 additions and 1 deletions
|
@ -6,13 +6,16 @@
|
|||
|
||||
|
||||
:if ([:len [/file find name=$scriptName]] <= 0) do={
|
||||
|
||||
:log info ($scriptName." not found, make sure file exists!");
|
||||
|
||||
}
|
||||
|
||||
:if ([:len [/file find name=$scriptName]] > 0) do={
|
||||
|
||||
:log info ($scriptName." found. Executing!");
|
||||
/system script run $scriptName;
|
||||
:log info ($scriptName." loaded to environment");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue