diff options
author | Christian Hesse <mail@eworm.de> | 2021-06-28 00:06:38 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-07-01 22:52:38 +0200 |
commit | 64b53d23224e6e4852910105774adf4529732189 (patch) | |
tree | ca51e05bc2982c670c3694a0bb141d68de8f7268 | |
parent | df43f6101814f241279919ba482ca700c80d6ca6 (diff) |
dhcp-to-dns: lock script (and wait)
-rw-r--r-- | dhcp-to-dns | 3 |
1 files changed, 3 insertions, 0 deletions
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." ] . \ |