aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-09-20 15:24:52 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-09-21 21:26:13 +0200
commitce78d7d9e9ad1c2ab0e5ffab716b40975c6bd0eb (patch)
treeb75e021cb1ff7ef1d1d68d6e41927fccc106ea44
parent012db05a9350311ddac85a95e487d4fc0ebabcb6 (diff)
global-functions: notify about move of $IPCalc and $ScriptRunOnce to moduleschange-63
Just install with... $ScriptInstallUpdate global-functions.d/ipcalc ... and/or... $ScriptInstallUpdate global-functions.d/scriptrunonce ... and use the functions as before.
-rw-r--r--global-config2
-rw-r--r--global-config-overlay2
-rw-r--r--global-config.changes1
-rw-r--r--global-functions2
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;