aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-06-13 09:02:15 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-06-13 09:07:57 +0200
commit878e1f66f263b8bdfe0a86fd8f2accecf5bd8a4d (patch)
treed1bd99f6bf8d8f790ad36a420a677e6c6eeaec0b
parentf375b7fbf79660fd2b532c33469d6f2996986179 (diff)
ipsec-to-dns: lock the script
-rw-r--r--ipsec-to-dns.rsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipsec-to-dns.rsc b/ipsec-to-dns.rsc
index a476e74..d961865 100644
--- a/ipsec-to-dns.rsc
+++ b/ipsec-to-dns.rsc
@@ -19,6 +19,9 @@
:global EscapeForRegEx;
:global IfThenElse;
:global LogPrintExit2;
+:global ScriptLock;
+
+$ScriptLock $0;
:local Zone \
([ $IfThenElse ($PrefixInZone = true) "ipsec." ] . \