aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-11-15 21:31:18 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-30 00:52:21 +0100
commit19e759d8fb4cf9de2ac6fa9989e01259ddb05609 (patch)
treee5b6e93ad271abbf4f7aa36f5ead928bf045d694
parentaca18f9cc25247d8edfe33675e7891fbfe020977 (diff)
ipv6-update: use :jobname to get script name
-rw-r--r--ipv6-update.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipv6-update.rsc b/ipv6-update.rsc
index 2e905e4..1d7207b 100644
--- a/ipv6-update.rsc
+++ b/ipv6-update.rsc
@@ -3,10 +3,12 @@
# 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 firewall and dns settings on IPv6 prefix change
# https://git.eworm.de/cgit/routeros-scripts/about/doc/ipv6-update.md
-:local 0 "ipv6-update";
+:local 0 [ :jobname ];
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }