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
commitaca18f9cc25247d8edfe33675e7891fbfe020977 (patch)
tree2ef1c1c6a7a40a90ba1185b17100705c185e8811
parent79660f10dbc7ed6881b6f4b98bb368e2048b5ea3 (diff)
ipsec-to-dns: use :jobname to get script name
-rw-r--r--ipsec-to-dns.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipsec-to-dns.rsc b/ipsec-to-dns.rsc
index aed7e56..512ef68 100644
--- a/ipsec-to-dns.rsc
+++ b/ipsec-to-dns.rsc
@@ -3,10 +3,12 @@
# Copyright (c) 2021-2024 Christian Hesse <mail@eworm.de>
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
+# requires RouterOS, version=7.12
+#
# and add/remove/update DNS entries from IPSec mode-config
# https://git.eworm.de/cgit/routeros-scripts/about/doc/ipsec-to-dns.md
-:local 0 "ipsec-to-dns";
+:local 0 [ :jobname ];
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }