mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-01-26 19:09:33 +00:00
global-functions: $ScriptInstallUpdate: trigger reload on changed snippet
This commit is contained in:
parent
72660f21a5
commit
28b1297a43
1 changed files with 1 additions and 1 deletions
|
|
@ -1397,7 +1397,7 @@
|
||||||
source=[ $IfThenElse ($ScriptUpdatesCRLF = true) $SourceCRLF $SourceNew ] $Script;
|
source=[ $IfThenElse ($ScriptUpdatesCRLF = true) $SourceCRLF $SourceNew ] $Script;
|
||||||
:if ($ScriptVal->"name" = "global-config" || \
|
:if ($ScriptVal->"name" = "global-config" || \
|
||||||
$ScriptVal->"name" = "global-functions" || \
|
$ScriptVal->"name" = "global-functions" || \
|
||||||
$ScriptVal->"name" ~ ("^mod/.")) do={
|
$ScriptVal->"name" ~ ("^(global-functions\\.d|mod)/.")) do={
|
||||||
:set ReloadGlobal true;
|
:set ReloadGlobal true;
|
||||||
}
|
}
|
||||||
} on-error={ }
|
} on-error={ }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue