base-files: use "reboot -f" after sysupgrade to prevent executing deleted init scripts

SVN-Revision: 27776
This commit is contained in:
Jo-Philipp Wich
2011-07-25 22:19:55 +00:00
parent 80956276a7
commit 94c728dc39
2 changed files with 2 additions and 2 deletions

View File

@@ -182,7 +182,7 @@ do_upgrade() {
[ -n "$DELAY" ] && sleep "$DELAY"
ask_bool 1 "Reboot" && {
v "Rebooting system..."
reboot
reboot -f
sleep 5
echo b 2>/dev/null >/proc/sysrq-trigger
}