aboutsummaryrefslogtreecommitdiffstats
path: root/doc/capsman-download-packages.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-08-07 12:18:47 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-08-09 16:30:18 +0200
commit5e3d9d746040a05ee94b5858f0d1a7cd9dd136ec (patch)
treedb685ee8e2a88c7ca8087ef80cd1434d01c0c83d /doc/capsman-download-packages.md
parent5ea74968d942140aea79b7e001c8174f32b77e46 (diff)
capsman-download-packages: convert to template, split capsman & wifiwave2
Diffstat (limited to 'doc/capsman-download-packages.md')
-rw-r--r--doc/capsman-download-packages.md22
1 files changed, 17 insertions, 5 deletions
diff --git a/doc/capsman-download-packages.md b/doc/capsman-download-packages.md
index 58f84e8..ccf0f34 100644
--- a/doc/capsman-download-packages.md
+++ b/doc/capsman-download-packages.md
@@ -18,13 +18,25 @@ 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
@@ -35,7 +47,7 @@ Usage and invocation
Run the script manually:
- /system/script/run capsman-download-packages;
+ /system/script/run capsman-download-packages.wifiwave2;
... or from scheduler.