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. --- check-lte-firmware-upgrade | 3 +++ 1 file changed, 3 insertions(+) (limited to 'check-lte-firmware-upgrade') diff --git a/check-lte-firmware-upgrade b/check-lte-firmware-upgrade index a678fb6..ed3cb98 100644 --- a/check-lte-firmware-upgrade +++ b/check-lte-firmware-upgrade @@ -6,6 +6,9 @@ # check for LTE firmware upgrade, send notification # https://git.eworm.de/cgit/routeros-scripts/about/doc/check-lte-firmware-upgrade.md +:global GlobalFunctionsReady; +:while ($GlobalFunctionsReady != true) do={ :delay 500ms; } + :global Identity; :global SentLteFirmwareUpgradeNotification; -- cgit v1.2.3-70-g09d2