mirror of https://github.com/aredn/aredn.git
Handle system upgrade files of type "nand-sysupgrade"
This commit is contained in:
parent
072c3da550
commit
e728e30aaf
|
@ -448,7 +448,7 @@ if parms.button_dl_fw and parms.dl_fw ~= "default" then
|
||||||
local fwimage
|
local fwimage
|
||||||
for _, image in ipairs(fwinfo.images)
|
for _, image in ipairs(fwinfo.images)
|
||||||
do
|
do
|
||||||
if image.type == "sysupgrade" then
|
if image.type == "sysupgrade" or image.type == "nand-sysupgrade" then
|
||||||
fwimage = {
|
fwimage = {
|
||||||
url = fw_versions[parms.dl_fw].target .. "/" .. image.name,
|
url = fw_versions[parms.dl_fw].target .. "/" .. image.name,
|
||||||
sha = image.sha256
|
sha = image.sha256
|
||||||
|
|
Loading…
Reference in New Issue