aboutsummaryrefslogtreecommitdiffstats
path: root/netwatch-notify
diff options
context:
space:
mode:
Diffstat (limited to 'netwatch-notify')
-rw-r--r--netwatch-notify3
1 files changed, 3 insertions, 0 deletions
diff --git a/netwatch-notify b/netwatch-notify
index 9651841..d050b75 100644
--- a/netwatch-notify
+++ b/netwatch-notify
@@ -6,6 +6,9 @@
# monitor netwatch and send notifications
# https://git.eworm.de/cgit/routeros-scripts/about/doc/netwatch-notify.md
+:global GlobalFunctionsReady;
+:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
+
:global NetwatchNotify;
:global IfThenElse;