aboutsummaryrefslogtreecommitdiffstats
path: root/backup-cloud.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-11-15 21:31:18 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-30 00:52:21 +0100
commit72a03c4dbbc4ba1447864047626a046ff1333b71 (patch)
tree74ecf12e75e5bb1c09c33a44caae7199557d7616 /backup-cloud.rsc
parent1d4f4d0017b849582fb9b61a97e8219626141cbf (diff)
backup-cloud: use :jobname to get script name
Diffstat (limited to 'backup-cloud.rsc')
-rw-r--r--backup-cloud.rsc3
1 files changed, 2 insertions, 1 deletions
diff --git a/backup-cloud.rsc b/backup-cloud.rsc
index 155ba5c..58fd37a 100644
--- a/backup-cloud.rsc
+++ b/backup-cloud.rsc
@@ -4,11 +4,12 @@
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
# provides: backup-script, order=40
+# requires RouterOS, version=7.12
#
# upload backup to MikroTik cloud
# https://git.eworm.de/cgit/routeros-scripts/about/doc/backup-cloud.md
-:local 0 "backup-cloud";
+:local 0 [ :jobname ];
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }