luci-mod-system: improve sysupgrade page
authorAnsuel Smith <ansuelsmth@gmail.com>
Wed, 18 Aug 2021 17:45:18 +0000 (20:45 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Wed, 18 Aug 2021 17:45:18 +0000 (20:45 +0300)
commit63898260397716d7bae5e5ee06226eb78dc4ff74
tree826dc40b46b65bcab521b91f26e6a525b3d3e4bb
parent854399a3290f00c99539b3dbc7bd082e50c4d101
luci-mod-system: improve sysupgrade page

- Add missing -k and -u option from sysupgrade page.
- Fix missing check for image verification exit code
- Provide the actual reason of the image verification

Fixes: #4160
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 0f4f6e89f15aa1dac0bfd676cb8364ef0b6c6e1f)
modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js
modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json