diff options
author | Christian Hesse <mail@eworm.de> | 2023-08-09 18:56:29 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-08-15 11:26:18 +0200 |
commit | 2c3e077b8ec984f501156f757c72a57703f846b4 (patch) | |
tree | 9cb609e7515b68256a37a6efe06b8373ca6eae8f /doc/capsman-download-packages.md | |
parent | c37739c2f6b050c965e0fa734309e1ecbed90add (diff) | |
parent | 92aca1aac05ba943fa41c9c6640265991a906e30 (diff) |
Merge branch 'wifiwave2' into next
Diffstat (limited to 'doc/capsman-download-packages.md')
-rw-r--r-- | doc/capsman-download-packages.md | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/doc/capsman-download-packages.md b/doc/capsman-download-packages.md index 58f84e8..8174c13 100644 --- a/doc/capsman-download-packages.md +++ b/doc/capsman-download-packages.md @@ -18,24 +18,39 @@ This script automatically downloads these packages. Requirements and installation ----------------------------- -Just install the script on CAPsMAN device: +Just install the script on CAPsMAN device. Depending on whether you use +`wifiwave2` package (`/interface/wifiwave2`) or legacy wifi with CAPsMAN +(`/caps-man`) you need to install a different script. - $ScriptInstallUpdate capsman-download-packages; +For `wifiwave2`: -Optionally add a scheduler to run after startup: + $ScriptInstallUpdate capsman-download-packages.wifiwave2; - /system/scheduler/add name=capsman-download-packages on-event="/system/script/run capsman-download-packages;" start-time=startup; +For legacy CAPsMAN: + + $ScriptInstallUpdate capsman-download-packages.capsman; + +Optionally add a scheduler to run after startup. For `wifiwave2`: + + /system/scheduler/add name=capsman-download-packages on-event="/system/script/run capsman-download-packages.wifiwave2;" start-time=startup; + +For legacy CAPsMAN: + + /system/scheduler/add name=capsman-download-packages on-event="/system/script/run capsman-download-packages.capsman;" start-time=startup; Packages available in local storage in older version are downloaded -unconditionally. The script tries to download missing packages by guessing -from system log. +unconditionally. + +If no packages are found the script tries to download missing packages for +legacy CAPsMAN by guessing from system log. For `wifiwave2` a default set +of packages (`routeros` and `wifiwave2` for *arm* and *arm64*) is downloaded. Usage and invocation -------------------- Run the script manually: - /system/script/run capsman-download-packages; + /system/script/run capsman-download-packages.wifiwave2; ... or from scheduler. |