<%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id: flashops.htm 7798 2011-10-26 23:43:04Z jow $ -%> <%+header%> <% local firmwareVersion = luci.util.trim(luci.util.exec("cat /etc/version | grep Firmware | awk '{print $4}'")) local uci = luci.model.uci.cursor() local checkFW = uci:get("system","firmware","version_check") or 0 local newFWInfo = luci.util.trim(luci.util.exec('cat /tmp/new_fw_info')) if newFWInfo ~= nil then newFWInfo = string.gsub(newFWInfo,"\'","\\\'") end %>

<%:Reset to factory default setting.%>

<%:Backup the device settings to backup config file.%>

<%:After user setting is backup as default, the system will allow restore to this user setting instead of factory default. %>

<%:The upgrade from the local browser UI is not supported when the device is in Insight management mode, so you must change the management mode to Standalone to upgrade through the local browser UI.%>

<% if uci:get('functionlist','functionlist','SUPPORT_AUTO_FIRMWARE_UPGRADE') == "1" then %>
<%:Server Firmware Upgrade%>
<%:Last Check%>
<%:New Firmware version %>
<%:Release Date %>
  
<% end %>
<%+footer%>