aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-01-19 22:50:51 +0100
committerGravatar Christian Hesse <mail@eworm.de>2023-01-20 11:26:53 +0100
commit9033e169210e620b1d2bef1c9ade2b70e82424e6 (patch)
treef6af9f87fc06926d9ca4225c1718be08aec4b6e9
parentde9dde1b1418e6d5a93f16a027b6208ca89394bf (diff)
global-functions: use new functionality for version check
-rw-r--r--global-functions5
1 files changed, 2 insertions, 3 deletions
diff --git a/global-functions b/global-functions
index 78af95d..da6e112 100644
--- a/global-functions
+++ b/global-functions
@@ -4,6 +4,8 @@
# Michael Gisbers <michael@gisbers.de>
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
+# requires RouterOS, version=7.1
+#
# global functions
# https://git.eworm.de/cgit/routeros-scripts/about/
@@ -1233,9 +1235,6 @@
}
}
-# check for required RouterOS version
-$RequiredRouterOS $0 "7.1" true;
-
# load modules
:foreach Script in=[ /system/script/find where name ~ "^mod/." ] do={
:local ScriptVal [ /system/script/get $Script ];