From ce78d7d9e9ad1c2ab0e5ffab716b40975c6bd0eb Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 20 Sep 2021 15:24:52 +0200 Subject: global-functions: notify about move of $IPCalc and $ScriptRunOnce to modules Just install with... $ScriptInstallUpdate global-functions.d/ipcalc ... and/or... $ScriptInstallUpdate global-functions.d/scriptrunonce ... and use the functions as before. --- 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 6b2cd84..cc0e389 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 62; +:global GlobalConfigVersion 63; # This is used for DNS and backup file. :global Domain "example.com"; diff --git a/global-config-overlay b/global-config-overlay index f4ea04d..854d4f8 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 62; +:global GlobalConfigVersion 63; # Copy configuration from global-config here and modify it. diff --git a/global-config.changes b/global-config.changes index 23a1dac..7504693 100644 --- a/global-config.changes +++ b/global-config.changes @@ -66,6 +66,7 @@ 60="Implemented a pre-down hook in 'netwatch-notify' that fires at two thirds of failed checks."; 61="Finally removed old scripts."; 62="Added '\$ScriptRunOnce' to run a script from URL once without installation, intended to aid configuration management and the like."; + 63="Moved optional functions '\$IPCalc' and '\$ScriptRunOnce' to modules."; }; # Migration steps to be applied on script updates diff --git a/global-functions b/global-functions index e3340eb..34be4fd 100644 --- a/global-functions +++ b/global-functions @@ -8,7 +8,7 @@ # https://git.eworm.de/cgit/routeros-scripts/about/ # expected configuration version -:global ExpectedConfigVersion 62; +:global ExpectedConfigVersion 63; # global variables not to be changed by user :global GlobalFunctionsReady false; -- cgit v1.2.3-70-g09d2