aboutsummaryrefslogtreecommitdiffstats
path: root/ipv6-update.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-06-13 09:03:10 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-06-13 09:07:57 +0200
commitde750f055904f8c95aa2ed889ae6ec8ba9798f97 (patch)
treee110eba0d0ce0efde64e985a714374ecd2363167 /ipv6-update.rsc
parent878e1f66f263b8bdfe0a86fd8f2accecf5bd8a4d (diff)
ipv6-update: lock the script
Diffstat (limited to 'ipv6-update.rsc')
-rw-r--r--ipv6-update.rsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipv6-update.rsc b/ipv6-update.rsc
index 2838feb..7e1d34f 100644
--- a/ipv6-update.rsc
+++ b/ipv6-update.rsc
@@ -14,6 +14,9 @@
:global LogPrintExit2;
:global ParseKeyValueStore;
+:global ScriptLock;
+
+$ScriptLock $0;
:if ([ :typeof $PdPrefix ] = "nothing") do={
$LogPrintExit2 error $0 ("This script is supposed to run from ipv6 dhcp-client.") true;