From 087bd8afc7e29fa0b3f3e0b53c9a281bb53ca30f Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 6 Sep 2008 18:55:26 +0000 Subject: Trigger post-flash reboot manually --- modules/admin-mini/luasrc/controller/mini/system.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/admin-mini/luasrc/controller/mini') 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 -- cgit v1.2.3