mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
global-functions: give a hint on RouterOS v7
This commit is contained in:
@ -1244,5 +1244,11 @@
|
||||
# check for required RouterOS version
|
||||
$RequiredRouterOS "global-functions" "6.47" true;
|
||||
|
||||
# ... and give a hint on RouterOS v7.
|
||||
:if ([ $RequiredRouterOS "global-functions" "7.0" false ] = true) do={
|
||||
$LogPrintExit2 warning $0 ("RouterOS v7 brings some incompatible changes. Please switch to branch " . \
|
||||
"'routeros-v7', see https://git.eworm.de/cgit/routeros-scripts/about/#changes-for-routeros-v7") false;
|
||||
}
|
||||
|
||||
# signal we are ready
|
||||
:set GlobalFunctionsReady true;
|
||||
|
Reference in New Issue
Block a user