update-tunnelbroker: use :jobname to get script name

This commit is contained in:
Christian Hesse 2023-11-15 21:31:19 +01:00
parent af7031cc56
commit b679eefcf7

View file

@ -5,11 +5,12 @@
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
# #
# provides: ppp-on-up # provides: ppp-on-up
# requires RouterOS, version=7.12
# #
# update local address of tunnelbroker interface # update local address of tunnelbroker interface
# https://git.eworm.de/cgit/routeros-scripts/about/doc/update-tunnelbroker.md # https://git.eworm.de/cgit/routeros-scripts/about/doc/update-tunnelbroker.md
:local 0 "update-tunnelbroker"; :local 0 [ :jobname ];
:global GlobalFunctionsReady; :global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; } :while ($GlobalFunctionsReady != true) do={ :delay 500ms; }