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. --- sms-action | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sms-action') diff --git a/sms-action b/sms-action index a070cc9..4c39740 100644 --- a/sms-action +++ b/sms-action @@ -6,6 +6,9 @@ # run action on received SMS # https://git.eworm.de/cgit/routeros-scripts/about/doc/sms-action.md +:global GlobalFunctionsReady; +:while ($GlobalFunctionsReady != true) do={ :delay 500ms; } + :global SmsAction; :global LogPrintExit; -- cgit v1.2.3-54-g00ecf