aboutsummaryrefslogtreecommitdiffstats
path: root/sms-action
diff options
context:
space:
mode:
Diffstat (limited to 'sms-action')
-rw-r--r--sms-action3
1 files changed, 3 insertions, 0 deletions
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;