mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-18 08:38:28 +02:00
update-gre-address: use :jobname to get script name
This commit is contained in:
parent
24b681761b
commit
af7031cc56
1 changed files with 3 additions and 1 deletions
|
@ -3,11 +3,13 @@
|
||||||
# Copyright (c) 2013-2024 Christian Hesse <mail@eworm.de>
|
# Copyright (c) 2013-2024 Christian Hesse <mail@eworm.de>
|
||||||
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
||||||
#
|
#
|
||||||
|
# requires RouterOS, version=7.12
|
||||||
|
#
|
||||||
# update gre interface remote address with dynamic address from
|
# update gre interface remote address with dynamic address from
|
||||||
# ipsec remote peer
|
# ipsec remote peer
|
||||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/update-gre-address.md
|
# https://git.eworm.de/cgit/routeros-scripts/about/doc/update-gre-address.md
|
||||||
|
|
||||||
:local 0 "update-gre-address";
|
:local 0 [ :jobname ];
|
||||||
:global GlobalFunctionsReady;
|
:global GlobalFunctionsReady;
|
||||||
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue