From 40dea016700fd88bfee2838d740d46517f677601 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 13 Dec 2021 11:36:03 +0100 Subject: README: changes for RouterOS v6 --- README.md | 12 ++++++++++++ global-config | 2 +- global-config-overlay | 2 +- global-config.changes | 1 + global-functions | 2 +- 5 files changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eea9014..ec6b863 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,18 @@ to be updated automatically! ![screenshot: schedule update](README.d/07-schedule-update.png) +### Changes for RouterOS v6 + +RouterOS v6 will become deprecated at some time in the future, but to date +it is still the default for these scripts (in branch `main`). This will +change however, so if you want to stay with RouterOS v6 for some time add +these lines to your `global-config-overlay`: + + # Use branch routeros-v6 with RouterOS v6: + :global ScriptUpdatesUrlSuffix "\?h=routeros-v6"; + +Then reload the configuration. + ### Changes for RouterOS v7 RouterOS v7 is developed in paralled to RouterOS v6. The former brings some diff --git a/global-config b/global-config index 522155e..1622ef5 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 70; +:global GlobalConfigVersion 71; # This is used for DNS and backup file. :global Domain "example.com"; diff --git a/global-config-overlay b/global-config-overlay index fe3bfee..ec0955a 100644 --- a/global-config-overlay +++ b/global-config-overlay @@ -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'! # Comment or remove to disable news and change notifications. -:global GlobalConfigVersion 70; +:global GlobalConfigVersion 71; # Copy configuration from global-config here and modify it. diff --git a/global-config.changes b/global-config.changes index 102bc41..4c31080 100644 --- a/global-config.changes +++ b/global-config.changes @@ -74,6 +74,7 @@ 68="Reintroduced 'global-wait' for functions in scheduler."; 69="Support hard lower limit for voltage in 'check-health'."; 70="MikroTik started pushing RouterOS v7. Changes are required if you run it, see https://git.eworm.de/cgit/routeros-scripts/about/#changes-for-routeros-v7"; + 71="MikroTik is pushing RouterOS v7 even more, in parallel branches. If you want to keep RouterOS v6 for some time see https://git.eworm.de/cgit/routeros-scripts/about/#changes-for-routeros-v6"; }; # Migration steps to be applied on script updates diff --git a/global-functions b/global-functions index 42d0b43..7c34a5c 100644 --- a/global-functions +++ b/global-functions @@ -8,7 +8,7 @@ # https://git.eworm.de/cgit/routeros-scripts/about/ # expected configuration version -:global ExpectedConfigVersion 70; +:global ExpectedConfigVersion 71; # global variables not to be changed by user :global GlobalFunctionsReady false; -- cgit v1.2.3-54-g00ecf