projects
/
openwrt
/
staging
/
adrian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8dd618
)
still not happy with the failsafe timing
author
Mike Baker
<mbm@openwrt.org>
Tue, 11 May 2004 04:09:47 +0000
(
04:09
+0000)
committer
Mike Baker
<mbm@openwrt.org>
Tue, 11 May 2004 04:09:47 +0000
(
04:09
+0000)
SVN-Revision: 29
root/etc/preinit
patch
|
blob
|
history
diff --git
a/root/etc/preinit
b/root/etc/preinit
index 6cb37c27e85d23be7d28e986836f70a85192f43e..25fedc1e68eff77bf45c4dd1557bae975b09f475 100755
(executable)
--- a/
root/etc/preinit
+++ b/
root/etc/preinit
@@
-2,8
+2,9
@@
mount none /proc -t proc
insmod diag
echo 0x01 > /proc/sys/diag
-mtd unlock mtd4
+sleep 1
if /sbin/resetmon ; then
+ mtd unlock mtd4
mount -t jffs2 /dev/mtdblock/4 /jffs
pivot_root /jffs /jffs/rom
mount none /dev -t devfs