summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-06 18:55:26 +0000
committerSteven Barth <steven@midlink.org>2008-09-06 18:55:26 +0000
commit087bd8afc7e29fa0b3f3e0b53c9a281bb53ca30f (patch)
tree3d1a976bbfee6fc4c46ee412c273cfbc4ee831cb /modules
parentc80d0a350e8a09ed798e5b74e2e8e0c74db3ea72 (diff)
Trigger post-flash reboot manually
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/controller/admin/system.lua3
-rw-r--r--modules/admin-mini/luasrc/controller/mini/system.lua3
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua
index bbe202d9d..b72b3a789 100644
--- a/modules/admin-full/luasrc/controller/admin/system.lua
+++ b/modules/admin-full/luasrc/controller/admin/system.lua
@@ -214,6 +214,7 @@ function action_upgrade()
end
luci.template.render("admin_system/upgrade", {sysupgrade=plat, ret=ret, keep_avail=keep_avail})
+ luci.sys.reboot()
end
function _keep_pattern()
@@ -226,4 +227,4 @@ function _keep_pattern()
end
end
return kpattern
-end \ No newline at end of file
+end
diff --git a/modules/admin-mini/luasrc/controller/mini/system.lua b/modules/admin-mini/luasrc/controller/mini/system.lua
index 265443bd3..149cd588d 100644
--- a/modules/admin-mini/luasrc/controller/mini/system.lua
+++ b/modules/admin-mini/luasrc/controller/mini/system.lua
@@ -111,6 +111,7 @@ function action_upgrade()
end
luci.template.render("mini/upgrade", {sysupgrade=plat, ret=ret, keep_avail=keep_avail})
+ luci.sys.reboot()
end
function _keep_pattern()
@@ -123,4 +124,4 @@ function _keep_pattern()
end
end
return kpattern
-end \ No newline at end of file
+end