mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
ipq807x: fix certificates on hfcl-ion4xi_w
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -62,6 +62,7 @@ boot() {
|
||||
fi
|
||||
;;
|
||||
hfcl,ion4xi|\
|
||||
hfcl,ion4xi_w|\
|
||||
hfcl,ion4x|\
|
||||
hfcl,ion4x_2|\
|
||||
hfcl,ion4xi_wp|\
|
||||
|
||||
@@ -7,7 +7,10 @@ generate_certificate_volume() {
|
||||
|
||||
ubinfo /dev/ubi0 -N certificates > /dev/null
|
||||
[ $? -eq 0 ] || {
|
||||
ubirsvol /dev/ubi0 -N rootfs_data -s 20MiB
|
||||
ubinfo /dev/ubi0 -N wifi_fw > /dev/null
|
||||
[ $? -eq 0 ] && ubirmvol /dev/ubi0 -N wifi_fw
|
||||
|
||||
ubirsvol /dev/ubi0 -N rootfs_data -s 10MiB
|
||||
ubimkvol /dev/ubi0 -N certificates -S 20
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user