aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions6
1 files changed, 3 insertions, 3 deletions
diff --git a/global-functions b/global-functions
index 260a7d4..75a7dda 100644
--- a/global-functions
+++ b/global-functions
@@ -1203,6 +1203,9 @@
}
}
+# 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 ];
@@ -1217,8 +1220,5 @@
}
}
-# check for required RouterOS version
-$RequiredRouterOS $0 "7.1" true;
-
# signal we are ready
:set GlobalFunctionsReady true;