<% local system_version = require "luci.model.cbi.gpsysupgrade.sysupgrade".get_system_version() -%> <%+header%>

<%:System upgrade%>

<%- local c = require("luci.model.uci").cursor():changes(); if c and next(c) then -%>

<%:Warning: There are unsaved changes that will get lost on reboot!%>

<%- end -%>
【 <%=system_version%> 】    
<% local boardinfo = luci.util.ubus("system", "board") or { } overlay = boardinfo.release.distribution %> <%- if overlay ~="OpenWrt" and overlay ~= "1004" then -%> 注意: 修改过根目录大小的定制固件请使用 网站 或安装luci-app-attendedsysupgrade重新生成定制固件, 直接用此在线更新会重置分区,丢失配置. <%- end -%>
<%+footer%>