From d5afc79eed2a54ab005f1b0ccf656c43a57e0a9b Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 18 Feb 2021 14:52:47 +0100 Subject: global: drop script 'global-wait' All scripts wait for the global functions on their own now. --- dhcp-lease-comment.template | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dhcp-lease-comment.template') diff --git a/dhcp-lease-comment.template b/dhcp-lease-comment.template index 4007765..e3ca6d0 100644 --- a/dhcp-lease-comment.template +++ b/dhcp-lease-comment.template @@ -9,6 +9,9 @@ # !! This is just a template! Replace '%PATH%' with 'caps-man' # !! or 'interface wireless'! +:global GlobalFunctionsReady; +:while ($GlobalFunctionsReady != true) do={ :delay 500ms; } + :global LogPrintExit; :foreach Lease in=[ / ip dhcp-server lease find where dynamic=yes status=bound ] do={ -- cgit v1.2.3-54-g00ecf