maemo-kexec: Kick the watchdog before kexec-ing to make sure it doesn't expire before the new OS kernel was loaded.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25918 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3cf6801729
commit
36ac8fb13d
@ -1,6 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
/bin/sync
|
|
||||||
|
sync
|
||||||
|
|
||||||
|
killall -q watchdog || true
|
||||||
|
echo 1 >/dev/watchdog
|
||||||
|
|
||||||
/usr/sbin/kexec --load /boot/maemo.zImage --append "root=1f03 rootfstype=jffs2 ro console=tty0 console=ttyMTD5"
|
/usr/sbin/kexec --load /boot/maemo.zImage --append "root=1f03 rootfstype=jffs2 ro console=tty0 console=ttyMTD5"
|
||||||
/usr/sbin/kexec --exec
|
/usr/sbin/kexec --exec
|
||||||
|
Loading…
x
Reference in New Issue
Block a user