aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-11-15 21:31:19 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-30 00:52:21 +0100
commitb679eefcf73a8901c44a61494b419969ff4ee468 (patch)
tree5f86d1f313f4b915f7bf7c1a9ab709e0e08874e1
parentaf7031cc5689d38f19fdc0db4eef5802421b7ba1 (diff)
update-tunnelbroker: use :jobname to get script name
-rw-r--r--update-tunnelbroker.rsc3
1 files changed, 2 insertions, 1 deletions
diff --git a/update-tunnelbroker.rsc b/update-tunnelbroker.rsc
index bfe0bfc..4d4379a 100644
--- a/update-tunnelbroker.rsc
+++ b/update-tunnelbroker.rsc
@@ -5,11 +5,12 @@
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
# provides: ppp-on-up
+# requires RouterOS, version=7.12
#
# update local address of tunnelbroker interface
# https://git.eworm.de/cgit/routeros-scripts/about/doc/update-tunnelbroker.md
-:local 0 "update-tunnelbroker";
+:local 0 [ :jobname ];
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }