Merge r15865 to 8.09
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 15 May 2009 12:24:42 +0000 (12:24 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 15 May 2009 12:24:42 +0000 (12:24 +0000)
SVN-Revision: 15868

package/base-files/files/lib/upgrade/common.sh

index 361c73a5ee178674807faf17fd2649d097bc840e..9ba9e23e7e8067264df31c7f1f553a5c28d61156 100644 (file)
@@ -167,6 +167,7 @@ do_upgrade() {
        [ -n "$DELAY" ] && sleep "$DELAY"
        ask_bool 1 "Reboot" && {
                v "Rebooting system..."
+               echo b 2>/dev/null >/proc/sysrq-trigger
                reboot
        }
 }