mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-07-07 09:51:33 +00:00
Compare commits
No commits in common. "8878449b0be665f0c0df1b4ad48d20e2bb53efe9" and "623f96d94a90327d06eed9612c4387cf404e85b1" have entirely different histories.
8878449b0b
...
623f96d94a
3 changed files with 4 additions and 5 deletions
|
|
@ -74,7 +74,7 @@
|
||||||
:set CheckHealthRAMUtilizationNotified false;
|
:set CheckHealthRAMUtilizationNotified false;
|
||||||
}
|
}
|
||||||
|
|
||||||
:local Plugins [ /system/script/find where name~"^check-health\\.d/." ];
|
:local Plugins [ /system/script/find where name~"^check-health.d/." ];
|
||||||
:if ([ :len $Plugins ] = 0) do={
|
:if ([ :len $Plugins ] = 0) do={
|
||||||
$LogPrint debug $ScriptName ("No plugins installed.");
|
$LogPrint debug $ScriptName ("No plugins installed.");
|
||||||
:set ExitOK true;
|
:set ExitOK true;
|
||||||
|
|
|
||||||
|
|
@ -275,9 +275,8 @@
|
||||||
# /_()_\ Things *will* break!
|
# /_()_\ Things *will* break!
|
||||||
#
|
#
|
||||||
# load custom settings from overlay and snippets
|
# load custom settings from overlay and snippets
|
||||||
:foreach Script in=([ /system/script/find where name~"^global-config\\.d/." ], \
|
:foreach Script in=([ /system/script/find where name="global-config-overlay" ], \
|
||||||
[ /system/script/find where name="global-config-overlay" ], \
|
[ /system/script/find where name~"^global-config-overlay.d/" ]) do={
|
||||||
[ /system/script/find where name~"^global-config-overlay\\.d/." ]) do={
|
|
||||||
:onerror Err {
|
:onerror Err {
|
||||||
/system/script/run $Script;
|
/system/script/run $Script;
|
||||||
} do={
|
} do={
|
||||||
|
|
|
||||||
|
|
@ -1900,7 +1900,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
# load modules
|
# load modules
|
||||||
:foreach Script in=[ /system/script/find where name ~ "^(global-functions\\.d|mod)/." ] do={
|
:foreach Script in=[ /system/script/find where name ~ "^mod/." ] do={
|
||||||
:local ScriptVal [ /system/script/get $Script ];
|
:local ScriptVal [ /system/script/get $Script ];
|
||||||
:if ([ $ValidateSyntax ($ScriptVal->"source") ] = true) do={
|
:if ([ $ValidateSyntax ($ScriptVal->"source") ] = true) do={
|
||||||
:onerror Err {
|
:onerror Err {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue