mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-24 12:54:38 +02:00
packages-update: run email-backup and/or upload-backup
This commit is contained in:
parent
8d1313f588
commit
1e075d8d64
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@
|
|||
}
|
||||
}
|
||||
|
||||
:if ([ / system script print count-only where name="email-backup" ] > 0) do={
|
||||
/ system script run email-backup;
|
||||
:foreach Script in=[ / system script find where name~"^(email|upload)-backup\$" ] do={
|
||||
/ system script run $Script;
|
||||
}
|
||||
|
||||
:log info ("Rebooting for update.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue