From 64b53d23224e6e4852910105774adf4529732189 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 28 Jun 2021 00:06:38 +0200 Subject: dhcp-to-dns: lock script (and wait) --- dhcp-to-dns | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dhcp-to-dns b/dhcp-to-dns index 32a47cd..a794e67 100644 --- a/dhcp-to-dns +++ b/dhcp-to-dns @@ -22,6 +22,9 @@ :global CharacterReplace; :global IfThenElse; :global LogPrintExit2; +:global ScriptLock; + +$ScriptLock $0 false 10; :local Zone \ ([ $IfThenElse ($PrefixInZone = true) "dhcp." ] . \ -- cgit v1.2.3-54-g00ecf