diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2019-09-25 16:51:37 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-10-02 09:46:18 +0200 |
commit | 7c108683c6b65007e3ce8ce6db5e0e48aee87e2b (patch) | |
tree | c6e9219b78056937c48eced11c4ba408a6c9e167 /applications/luci-app-nut | |
parent | b2809cebd8009e7a68e2ad7da95b6335e1e9527b (diff) |
luci-mod-system: use "system" new "validate_firmware_image" ubus method
This new ubus method provides more properly-formatted details about
firmware file. Use it to check if uploaded image is valid.
The old "sysupgrade --test" method is left for now to provide stderr
output.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
[Added missing ACL, add default value for the ubus failure case]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-nut')
0 files changed, 0 insertions, 0 deletions