From aec63407e873e4a6f7299bdb0bf1c740be45f2b1 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 14 Jul 2020 16:18:23 +0200 Subject: notify about options in script comments --- global-config | 2 +- global-config-overlay | 2 +- global-config.changes | 1 + global-functions | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/global-config b/global-config index ffc5fd3..9c5f9ca 100644 --- a/global-config +++ b/global-config @@ -8,7 +8,7 @@ # Make sure all configuration properties are up to date and this # value is in sync with value in script 'global-functions'! -:global GlobalConfigVersion 18; +:global GlobalConfigVersion 19; # This is used for DNS and backup file. :global Domain "example.com"; diff --git a/global-config-overlay b/global-config-overlay index 4045a0e..d50ffc3 100644 --- a/global-config-overlay +++ b/global-config-overlay @@ -9,7 +9,7 @@ # Make sure all configuration properties are up to date and this # value is in sync with value in script 'global-functions'! # Comment or remove to disable change notifications. -:global GlobalConfigVersion 18; +:global GlobalConfigVersion 19; # The global-config script is updated by $ScriptInstallUpdate, # global-config-overlay becomes an overlay for your changes. diff --git a/global-config.changes b/global-config.changes index 0932ac8..12c5a38 100644 --- a/global-config.changes +++ b/global-config.changes @@ -22,4 +22,5 @@ 16="Happy with RouterOS Scripts and have a GitHub and/or GitLab account? Please star!"; 17="Introduced script 'early-errors'"; 18=("Added a simple IP calculation function, try: \$IPCalc " . [ / ip address get ([ find ]->0) address ]); + 19="Commenting scripts with 'ignore', 'base-url=...' and 'url-suffix=...' is honored on update"; }; diff --git a/global-functions b/global-functions index c6932b2..920f2a4 100644 --- a/global-functions +++ b/global-functions @@ -8,7 +8,7 @@ # https://git.eworm.de/cgit/routeros-scripts/about/ # expected configuration version -:global ExpectedConfigVersion 18; +:global ExpectedConfigVersion 19; # global variables not to be changed by user :global GlobalFunctionsReady false; -- cgit v1.2.3-70-g09d2