mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
README: changes for RouterOS v7
This commit is contained in:
parent
95062a3dbc
commit
dab04fd63e
5 changed files with 22 additions and 4 deletions
14
README.md
14
README.md
|
@ -111,6 +111,20 @@ to be updated automatically!
|
||||||
|
|
||||||
![screenshot: schedule update](README.d/07-schedule-update.png)
|
![screenshot: schedule update](README.d/07-schedule-update.png)
|
||||||
|
|
||||||
|
### Changes for RouterOS v7
|
||||||
|
|
||||||
|
RouterOS v7 is developed in paralled to RouterOS v6. The former brings some
|
||||||
|
shiny new features, the latter provides proven stability.
|
||||||
|
|
||||||
|
The changes require incompatible changes to scripts, so these changes go to
|
||||||
|
a separate branch. If you decide to run RouterOS v7 please switch to branch
|
||||||
|
`routeros-v7` by adding these lines to your `global-config-overlay`:
|
||||||
|
|
||||||
|
# Use branch routeros-v7 with RouterOS v7:
|
||||||
|
:global ScriptUpdatesUrlSuffix "\?h=routeros-v7";
|
||||||
|
|
||||||
|
Then reload the configuration and continue below to update scripts.
|
||||||
|
|
||||||
Updating scripts
|
Updating scripts
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
# Make sure all configuration properties are up to date and this
|
# Make sure all configuration properties are up to date and this
|
||||||
# value is in sync with value in script 'global-functions'!
|
# value is in sync with value in script 'global-functions'!
|
||||||
:global GlobalConfigVersion 69;
|
:global GlobalConfigVersion 70;
|
||||||
|
|
||||||
# This is used for DNS and backup file.
|
# This is used for DNS and backup file.
|
||||||
:global Domain "example.com";
|
:global Domain "example.com";
|
||||||
|
@ -159,11 +159,14 @@
|
||||||
# alternative urls - main: stable code - next: currently in development
|
# alternative urls - main: stable code - next: currently in development
|
||||||
#:global ScriptUpdatesBaseUrl "https://raw.githubusercontent.com/eworm-de/routeros-scripts/main/";
|
#:global ScriptUpdatesBaseUrl "https://raw.githubusercontent.com/eworm-de/routeros-scripts/main/";
|
||||||
#:global ScriptUpdatesBaseUrl "https://raw.githubusercontent.com/eworm-de/routeros-scripts/next/";
|
#:global ScriptUpdatesBaseUrl "https://raw.githubusercontent.com/eworm-de/routeros-scripts/next/";
|
||||||
|
#:global ScriptUpdatesBaseUrl "https://raw.githubusercontent.com/eworm-de/routeros-scripts/routeros-v7/";
|
||||||
#:global ScriptUpdatesBaseUrl "https://gitlab.com/eworm-de/routeros-scripts/raw/main/";
|
#:global ScriptUpdatesBaseUrl "https://gitlab.com/eworm-de/routeros-scripts/raw/main/";
|
||||||
#:global ScriptUpdatesBaseUrl "https://gitlab.com/eworm-de/routeros-scripts/raw/next/";
|
#:global ScriptUpdatesBaseUrl "https://gitlab.com/eworm-de/routeros-scripts/raw/next/";
|
||||||
|
#:global ScriptUpdatesBaseUrl "https://gitlab.com/eworm-de/routeros-scripts/raw/routeros-v7/";
|
||||||
:global ScriptUpdatesUrlSuffix "";
|
:global ScriptUpdatesUrlSuffix "";
|
||||||
# use next branch with default url (git.eworm.de)
|
# use next or routeros-v7 branch with default url (git.eworm.de)
|
||||||
#:global ScriptUpdatesUrlSuffix "\?h=next";
|
#:global ScriptUpdatesUrlSuffix "\?h=next";
|
||||||
|
#:global ScriptUpdatesUrlSuffix "\?h=routeros-v7";
|
||||||
|
|
||||||
# Use this for defaults with $ScriptRunOnce
|
# Use this for defaults with $ScriptRunOnce
|
||||||
# Install module with:
|
# Install module with:
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
# Make sure all configuration properties are up to date and this
|
# Make sure all configuration properties are up to date and this
|
||||||
# value is in sync with value in script 'global-functions'!
|
# value is in sync with value in script 'global-functions'!
|
||||||
# Comment or remove to disable news and change notifications.
|
# Comment or remove to disable news and change notifications.
|
||||||
:global GlobalConfigVersion 69;
|
:global GlobalConfigVersion 70;
|
||||||
|
|
||||||
# Copy configuration from global-config here and modify it.
|
# Copy configuration from global-config here and modify it.
|
||||||
|
|
||||||
|
|
|
@ -73,6 +73,7 @@
|
||||||
67="Moved modules to directory with shorter name.";
|
67="Moved modules to directory with shorter name.";
|
||||||
68="Reintroduced 'global-wait' for functions in scheduler.";
|
68="Reintroduced 'global-wait' for functions in scheduler.";
|
||||||
69="Support hard lower limit for voltage in 'check-health'.";
|
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";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Migration steps to be applied on script updates
|
# Migration steps to be applied on script updates
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
# https://git.eworm.de/cgit/routeros-scripts/about/
|
# https://git.eworm.de/cgit/routeros-scripts/about/
|
||||||
|
|
||||||
# expected configuration version
|
# expected configuration version
|
||||||
:global ExpectedConfigVersion 69;
|
:global ExpectedConfigVersion 70;
|
||||||
|
|
||||||
# global variables not to be changed by user
|
# global variables not to be changed by user
|
||||||
:global GlobalFunctionsReady false;
|
:global GlobalFunctionsReady false;
|
||||||
|
|
Loading…
Reference in a new issue