1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

global-functions: use new functionality for version check

This commit is contained in:
Christian Hesse
2023-01-19 22:50:51 +01:00
parent de9dde1b14
commit 9033e16921

View File

@ -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 ];