ipv6-update: lock the script

This commit is contained in:
Christian Hesse 2023-06-13 09:03:10 +02:00
parent 878e1f66f2
commit de750f0559

View file

@ -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;