diff options
author | Christian Hesse <mail@eworm.de> | 2023-11-15 21:31:18 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-30 00:52:21 +0100 |
commit | b4ac193789ec715da824e31a260d87f8be32e4fe (patch) | |
tree | 7d0268ed3f0378f11f6901fdeb4e6d21d21ca89b | |
parent | 994d3ef05abed9f7da5b3d0d56f2f8cfe5db0bc3 (diff) |
backup-upload: use :jobname to get script name
-rw-r--r-- | backup-upload.rsc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backup-upload.rsc b/backup-upload.rsc index 063cfb2..34fda2b 100644 --- a/backup-upload.rsc +++ b/backup-upload.rsc @@ -4,11 +4,12 @@ # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md # # provides: backup-script, order=50 +# requires RouterOS, version=7.12 # # create and upload backup and config file # https://git.eworm.de/cgit/routeros-scripts/about/doc/backup-upload.md -:local 0 "backup-upload"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |