<%# updateFW.htm -%> <% local fs = require "nixio.fs" local path = luci.dispatcher.context.requestpath local cl = path[1] local utl = require "luci.util" local mUtl = require "luci.moreUtils" local sn = mUtl.get_serialnumber() local model = mUtl.model(path[4] or sn) local mod = require "luci.model.global_variables" local url local master = mUtl.identify_pseudo_maestre(path[4] or sn ) -%> <%+header%>

<%:Execute commands %><%: - %><%=path[4] or sn%>


<%=translate("Upload a script and it's corresponding signature here. The script should have .sh extension and the signature .sig extension")%>



<% if install then %>
<% if #stdout > 0 then %>
<%=pcdata(stdout)%>
<% end %> <% if #stderr > 0 then %>
<%=pcdata(stderr)%>
<% end %>
<% end %>
<%if out then %>
<%end%>
<%+footer%>