1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

sysupgrade: add optional delay before rebooting

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12572 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2008-09-12 19:51:30 +00:00
parent 154807d30e
commit 4e9554bdfe
2 changed files with 7 additions and 3 deletions

View File

@@ -147,5 +147,6 @@ do_upgrade() {
jffs2_copy_config
fi
}
[ -n "$DELAY" ] && sleep "$DELAY"
ask_bool 1 "Reboot" && reboot
}