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 | 994d3ef05abed9f7da5b3d0d56f2f8cfe5db0bc3 (patch) | |
tree | 0e09593638d242948ea36ba68291e79aa4445dd7 | |
parent | 26dd16d3b9b512c0bba7adf1a25ae25058cfef2d (diff) |
backup-partition: use :jobname to get script name
-rw-r--r-- | backup-partition.rsc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backup-partition.rsc b/backup-partition.rsc index fe1fa66..e67a001 100644 --- a/backup-partition.rsc +++ b/backup-partition.rsc @@ -4,11 +4,12 @@ # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md # # provides: backup-script, order=70 +# requires RouterOS, version=7.12 # # save configuration to fallback partition # https://git.eworm.de/cgit/routeros-scripts/about/doc/backup-partition.md -:local 0 "backup-partition"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |