aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions6
1 files changed, 6 insertions, 0 deletions
diff --git a/global-functions b/global-functions
index 3b88a2a..91297b4 100644
--- a/global-functions
+++ b/global-functions
@@ -38,6 +38,7 @@
:global ParseKeyValueStore;
:global QuotedPrintable;
:global RandomDelay;
+:global Read;
:global RequiredRouterOS;
:global ScriptFromTerminal;
:global ScriptInstallUpdate;
@@ -640,6 +641,11 @@
:delay ([ $GetRandomNumber $1 ] . [ $EitherOr $2 "s" ]);
}
+# read input from user
+:set Read do={
+ :return;
+}
+
# check for required RouterOS version
:set RequiredRouterOS do={
:local Caller [ :tostr $1 ];