mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-12 19:14:27 +02:00
global-functions: use new functionality for version check
This commit is contained in:
parent
de9dde1b14
commit
9033e16921
1 changed files with 2 additions and 3 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue