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:
@ -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 ];
|
||||
|
Reference in New Issue
Block a user