%#
Copyright 2008 Steven Barth
Copyright 2008-2009 Jo-Philipp Wich
Licensed to the public under the Apache License 2.0.
-%>
<%+header%>
<%:Flash Firmware%> - <%:Verify%>
<%_ The flash image was uploaded.
Below is the checksum and file size listed,
compare them with the original file to ensure data integrity.
Click "Proceed" below to start the flash procedure. %>
<% if storage > 0 and size > storage then %>
<%:It appears that you are trying to
flash an image that does not fit into the flash memory, please verify
the image file! %>
<% end %>
- <%:Checksum%>
<%:MD5%>: <%=checksum%>
<%:SHA256%>: <%=sha256ch%>
- <%:Size%>: <%
local w = require "luci.tools.webadmin"
write(w.byte_format(size))
if storage > 0 then
write(luci.i18n.translatef(
" (%s available)",
w.byte_format(storage)
))
end
%>
- <% if keep then %>
<%:Configuration files will be kept%>
<% else %>
<%:Caution: Configuration files will be erased%>
<% end %>
<% if force then %>
-
<%:Caution: System upgrade will be forced%>
<% end %>
<%+footer%>