mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-02 22:24:30 +02:00
script-updates: add option to ignore global-config changes
This commit is contained in:
parent
594aef2aab
commit
7b1c275cc2
4 changed files with 6 additions and 3 deletions
|
@ -11,6 +11,7 @@
|
|||
:global ScriptUpdatesBaseUrl;
|
||||
:global ScriptUpdatesUrlSuffix;
|
||||
:global ScriptUpdatesIgnore;
|
||||
:global ScriptUpdatesConfigChangesIgnore;
|
||||
|
||||
:global SendNotification;
|
||||
|
||||
|
@ -77,7 +78,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
:if ($GlobalConfigVersion < $ExpectedConfigVersion) do={
|
||||
:if ($ScriptUpdatesConfigChangesIgnore!=true && $GlobalConfigVersion < $ExpectedConfigVersion) do={
|
||||
:global GlobalConfigChanges;
|
||||
:local ChangeLogCode;
|
||||
:local Changes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue