mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
script-updates: add option to ignore global-config changes
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user