aboutsummaryrefslogtreecommitdiffstats
path: root/email-backup
diff options
context:
space:
mode:
Diffstat (limited to 'email-backup')
-rw-r--r--email-backup3
1 files changed, 3 insertions, 0 deletions
diff --git a/email-backup b/email-backup
index a60b701..7cd8222 100644
--- a/email-backup
+++ b/email-backup
@@ -6,6 +6,9 @@
# create and email backup and config file
# https://git.eworm.de/cgit/routeros-scripts/about/doc/email-backup.md
+:global GlobalFunctionsReady;
+:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
+
:global BackupPassword;
:global BackupSendBinary;
:global BackupSendExport;