mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
ipv6-update: use :jobname to get script name
This commit is contained in:
@ -3,10 +3,12 @@
|
|||||||
# 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 firewall and dns settings on IPv6 prefix change
|
# update firewall and dns settings on IPv6 prefix change
|
||||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/ipv6-update.md
|
# https://git.eworm.de/cgit/routeros-scripts/about/doc/ipv6-update.md
|
||||||
|
|
||||||
:local 0 "ipv6-update";
|
:local 0 [ :jobname ];
|
||||||
:global GlobalFunctionsReady;
|
:global GlobalFunctionsReady;
|
||||||
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user