aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mode-button.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/mode-button.rsc b/mode-button.rsc
index 3c3e37e..372b2de 100644
--- a/mode-button.rsc
+++ b/mode-button.rsc
@@ -3,10 +3,12 @@
# Copyright (c) 2018-2024 Christian Hesse <mail@eworm.de>
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
+# requires RouterOS, version=7.12
+#
# act on multiple mode and reset button presses
# https://git.eworm.de/cgit/routeros-scripts/about/doc/mode-button.md
-:local 0 "mode-button";
+:local 0 [ :jobname ];
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }