luci-mod-admin-full: add sleep before sysupgrade
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 17 Mar 2016 14:55:02 +0000 (15:55 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 17 Mar 2016 14:55:23 +0000 (15:55 +0100)
commit362db10f882fc448f550e1f0de1afeb27ab3156f
treeb28cd48952974114746524cc950c120057d4c0de
parent516689a646351ab86dd126bd0a69851c77733e96
luci-mod-admin-full: add sleep before sysupgrade

- Under some conditions the system will shutdown
  uhttpd before the page will be delivered to
  the client. Waiting one second should eleminate
  this behaviour.

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-mod-admin-full/luasrc/controller/admin/system.lua