Fixed stupid bug
This commit is contained in:
parent
087bd8afc7
commit
72927597bc
4 changed files with 4 additions and 4 deletions
|
@ -214,7 +214,6 @@ function action_upgrade()
|
||||||
end
|
end
|
||||||
|
|
||||||
luci.template.render("admin_system/upgrade", {sysupgrade=plat, ret=ret, keep_avail=keep_avail})
|
luci.template.render("admin_system/upgrade", {sysupgrade=plat, ret=ret, keep_avail=keep_avail})
|
||||||
luci.sys.reboot()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function _keep_pattern()
|
function _keep_pattern()
|
||||||
|
|
|
@ -48,4 +48,5 @@ $Id$
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="error"><%:a_s_flash_notimplemented%></div>
|
<div class="error"><%:a_s_flash_notimplemented%></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%+footer%>
|
<%+footer%>
|
||||||
|
<% if ret == 0 then luci.sys.reboot() end %>
|
||||||
|
|
|
@ -111,7 +111,6 @@ function action_upgrade()
|
||||||
end
|
end
|
||||||
|
|
||||||
luci.template.render("mini/upgrade", {sysupgrade=plat, ret=ret, keep_avail=keep_avail})
|
luci.template.render("mini/upgrade", {sysupgrade=plat, ret=ret, keep_avail=keep_avail})
|
||||||
luci.sys.reboot()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function _keep_pattern()
|
function _keep_pattern()
|
||||||
|
|
|
@ -48,4 +48,5 @@ $Id$
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="error"><%:a_s_flash_notimplemented%></div>
|
<div class="error"><%:a_s_flash_notimplemented%></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%+footer%>
|
<%+footer%>
|
||||||
|
<% if ret == 0 then luci.sys.reboot() end %>
|
||||||
|
|
Loading…
Reference in a new issue