diff options
author | Christian Hesse <mail@eworm.de> | 2023-11-15 21:31:19 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-30 00:52:21 +0100 |
commit | b679eefcf73a8901c44a61494b419969ff4ee468 (patch) | |
tree | 5f86d1f313f4b915f7bf7c1a9ab709e0e08874e1 /update-tunnelbroker.rsc | |
parent | af7031cc5689d38f19fdc0db4eef5802421b7ba1 (diff) |
update-tunnelbroker: use :jobname to get script name
Diffstat (limited to 'update-tunnelbroker.rsc')
-rw-r--r-- | update-tunnelbroker.rsc | 3 |
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; } |