aboutsummaryrefslogtreecommitdiffstats
path: root/netwatch-dns.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-11-15 21:31:19 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-30 00:52:21 +0100
commit80f587ddb555267bfe5f4344dc4e10cc268e2bc3 (patch)
tree5197571773589b2dcca698398a956a0110844dfd /netwatch-dns.rsc
parent5d40075e442993ad2bed2f646b91bfa987906469 (diff)
netwatch-dns: use :jobname to get script name
Diffstat (limited to 'netwatch-dns.rsc')
-rw-r--r--netwatch-dns.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/netwatch-dns.rsc b/netwatch-dns.rsc
index 86d59c7..3b98a32 100644
--- a/netwatch-dns.rsc
+++ b/netwatch-dns.rsc
@@ -3,10 +3,12 @@
# Copyright (c) 2022-2024 Christian Hesse <mail@eworm.de>
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
+# requires RouterOS, version=7.12
+#
# monitor and manage dns/doh with netwatch
# https://git.eworm.de/cgit/routeros-scripts/about/doc/netwatch-dns.md
-:local 0 "netwatch-dns";
+:local 0 [ :jobname ];
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }