From e728e30aafb887ebb0cd34297d3a1f22feb9b64d Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Mon, 20 Feb 2023 10:19:59 -0800 Subject: [PATCH] Handle system upgrade files of type "nand-sysupgrade" --- files/www/cgi-bin/admin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/www/cgi-bin/admin b/files/www/cgi-bin/admin index f17caadc..34ecf902 100755 --- a/files/www/cgi-bin/admin +++ b/files/www/cgi-bin/admin @@ -448,7 +448,7 @@ if parms.button_dl_fw and parms.dl_fw ~= "default" then local fwimage for _, image in ipairs(fwinfo.images) do - if image.type == "sysupgrade" then + if image.type == "sysupgrade" or image.type == "nand-sysupgrade" then fwimage = { url = fw_versions[parms.dl_fw].target .. "/" .. image.name, sha = image.sha256