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