mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-06-21 02:05:40 +02:00
backup-upload: use :jobname to get script name
This commit is contained in:
parent
994d3ef05a
commit
b4ac193789
1 changed files with 2 additions and 1 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue