From 9033e169210e620b1d2bef1c9ade2b70e82424e6 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 19 Jan 2023 22:50:51 +0100 Subject: global-functions: use new functionality for version check --- global-functions | 5 ++--- 1 file 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 # 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 ]; -- cgit v1.2.3-70-g09d2