mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
script-updates: run global-functions on update
This commit is contained in:
parent
5a6650b40e
commit
b62f9b7a65
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@
|
|||
:log info ("Updating script: " . $scriptname);
|
||||
/ system script set owner=$scriptname source=$sourcenew \
|
||||
dont-require-permissions=$"dont-require-permissions" $script;
|
||||
:if ($scriptname = "global-functions") do={
|
||||
/ system script run global-functions;
|
||||
}
|
||||
} else={
|
||||
:log debug ("Script " . $scriptname . " did not change");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue