projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93602d1
)
maemo-kexec: Kick the watchdog before kexec-ing to make sure it doesn't expire before...
author
Michael Büsch
<mb@bu3sch.de>
Mon, 7 Mar 2011 00:39:09 +0000
(
00:39
+0000)
committer
Michael Büsch
<mb@bu3sch.de>
Mon, 7 Mar 2011 00:39:09 +0000
(
00:39
+0000)
SVN-Revision: 25918
utils/maemo-kexec/files/sbin/bootmaemo
patch
|
blob
|
history
diff --git
a/utils/maemo-kexec/files/sbin/bootmaemo
b/utils/maemo-kexec/files/sbin/bootmaemo
index 498b096f389f1cf24920f5d14dab2b770b3dd34a..14f85b1e772c466e2f21f702cba4c83269baf074 100755
(executable)
--- a/
utils/maemo-kexec/files/sbin/bootmaemo
+++ b/
utils/maemo-kexec/files/sbin/bootmaemo
@@
-1,6
+1,11
@@
#!/bin/sh
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 --exec