<%# Licensed to the public under the Apache License 2.0. -%> <%+header%> <% local fs = require "nixio.fs" -%>

<%:OTA%>

<%:Upgrade firmware On the Air%>
<%:Check and upgrade firmware from the Internet%>
<% if image_invalid then %>
<%:The image file does not contain a supported format. Maybe try again later.%>
<% end %>
<% if fs.access("/usr/lib/lua/luci/controller/admin/system.lua") then %>
<% else %>
<% end %>

<%:The latest firmware%>:

<%+footer%>