aboutsummaryrefslogtreecommitdiffstats
path: root/dhcp-to-dns
diff options
context:
space:
mode:
Diffstat (limited to 'dhcp-to-dns')
-rw-r--r--dhcp-to-dns3
1 files changed, 3 insertions, 0 deletions
diff --git a/dhcp-to-dns b/dhcp-to-dns
index 375e083..30ca63c 100644
--- a/dhcp-to-dns
+++ b/dhcp-to-dns
@@ -6,6 +6,9 @@
# check DHCP leases and add/remove/update DNS entries
# https://git.eworm.de/cgit/routeros-scripts/about/doc/dhcp-to-dns.md
+:global GlobalFunctionsReady;
+:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
+
:global Domain;
:global HostNameInZone;
:global Identity;