sysupgrade: add optional delay before rebooting

SVN-Revision: 12572
This commit is contained in:
Felix Fietkau
2008-09-12 19:51:30 +00:00
parent 1abbb27f86
commit 22585e578b
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
}