mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-08-04 10:14:51 +02:00
capsman-download-packages: get info from log
Relying on older packages in local storage may be problematic due to size constraints. Let's check the log for required packages.
This commit is contained in:
parent
122f90b693
commit
c4a5f8787a
2 changed files with 22 additions and 10 deletions
|
@ -26,16 +26,9 @@ Optionally add a scheduler to run after startup:
|
|||
|
||||
/ system scheduler add name=capsman-download-packages on-event="/ system script run capsman-download-packages;" start-time=startup;
|
||||
|
||||
Only packages available in older version are downloaded. For initial setup
|
||||
place the required packages to CAPsMAN package path (see
|
||||
`/ caps-man manager`). The packages can be downloaded from device with
|
||||
function `$DownloadPackage`, use something like this to download latest
|
||||
packages to directory `routeros`:
|
||||
|
||||
$DownloadPackage routeros "" arm routeros;
|
||||
$DownloadPackage routeros "" arm64 routeros;
|
||||
$DownloadPackage routeros "" mipsbe routeros;
|
||||
[...]
|
||||
Packages available in local storage in older version are downloaded
|
||||
unconditionally. The script tries to download missing packages by guessing
|
||||
from system log.
|
||||
|
||||
Usage and invocation
|
||||
--------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue