luci-mod-admin-full: show also sha256 checksum for sysupgrade images
authorHannu Nyman <hannu.nyman@iki.fi>
Fri, 19 Aug 2016 07:59:52 +0000 (10:59 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Fri, 19 Aug 2016 08:08:24 +0000 (11:08 +0300)
commitc0af3601fb87e6c695d07f0af1fbec8dcfdb2f71
treeacc315969a3bcfc9ad28a5fe9dafa29989de30b4
parent19981732fc50073a80cca29d430005a11426c706
luci-mod-admin-full: show also sha256 checksum for sysupgrade images

Show also the sha256 checksum in addition to MD5 checksum to enable
image verification also for builds with only sha256 checksums.

If the 'sha256sum' command is not present in the system, the value
remains empty.

Note: The easiest way to get the 'sha256sum' command is to compile it
into busybox.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
modules/luci-mod-admin-full/luasrc/controller/admin/system.lua
modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm