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 | af7031cc5689d38f19fdc0db4eef5802421b7ba1 (patch) | |
tree | 8bcefd27bd55ec2849a85ba9b9b100df22a46c76 /update-gre-address.rsc | |
parent | 24b681761b3f29b30fcaf0672f293c77972931b1 (diff) |
update-gre-address: use :jobname to get script name
Diffstat (limited to 'update-gre-address.rsc')
-rw-r--r-- | update-gre-address.rsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/update-gre-address.rsc b/update-gre-address.rsc index 5a5fd45..c5c699b 100644 --- a/update-gre-address.rsc +++ b/update-gre-address.rsc @@ -3,11 +3,13 @@ # Copyright (c) 2013-2024 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md # +# requires RouterOS, version=7.12 +# # update gre interface remote address with dynamic address from # ipsec remote peer # https://git.eworm.de/cgit/routeros-scripts/about/doc/update-gre-address.md -:local 0 "update-gre-address"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |