mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-23 04:14:27 +02:00
global-functions: $ScriptInstallUpdate: log when reloading code
This commit is contained in:
parent
ce4d332f55
commit
378a1785f4
1 changed files with 2 additions and 0 deletions
|
@ -491,9 +491,11 @@
|
|||
dont-require-permissions=$DontRequirePermissions $Script;
|
||||
:if ($ScriptVal->"name" = "global-config" && \
|
||||
[ / system script print count-only where name="global-config-overlay" ] > 0) do={
|
||||
$LogPrintExit info ("Reloading global configuration and overlay.") false;
|
||||
/ system script { run global-config; run global-config-overlay; }
|
||||
}
|
||||
:if ($ScriptVal->"name" = "global-functions") do={
|
||||
$LogPrintExit info ("Reloading global functions.") false;
|
||||
/ system script run global-functions;
|
||||
}
|
||||
} else={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue