luci/modules/luci-base/root/usr/share
Rafał Miłecki 7c108683c6 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>
2019-10-02 09:46:18 +02:00
..
acl.d luci-base: properly handle ubus connections for non-root (#570, #571) 2016-01-11 15:21:46 +01:00
rpcd/acl.d luci-mod-system: use "system" new "validate_firmware_image" ubus method 2019-10-02 09:46:18 +02:00