update-tunnelbroker: use :jobname to get script name

This commit is contained in:
Christian Hesse 2023-11-15 21:31:19 +01:00
parent 70c1a52475
commit a223ca2eb4

View file

@ -9,7 +9,7 @@
# 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; }