<%- local uci = require "luci.model.uci" local sys = require "luci.sys" local cel_module = uci:get("network", "cellular", "module") sys.exec("echo %s > /tmp/module" % cel_module) -%> <%+header%>
<%if cel_module:match("WP7%d+") then%> <%end%> <%if cel_module:match("EM74%d+") then%> <%end%> <%if not cel_module:match("WP7%d+") then%> <%else%> <%end%> <%if cel_module:match("EM74%d+") then%> <%end%>
<%:Type of upgrade%><%:Check for update%> <%:Available Firmwares%><%:Available Carrier Configs%>
<%+footer%>