projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1aefc93
)
temporary hack: delay resetmon checking by 1 sec
author
mbm
<mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 9 May 2004 21:43:28 +0000
(21:43 +0000)
committer
mbm
<mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 9 May 2004 21:43:28 +0000
(21:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
root/etc/preinit
patch
|
blob
|
history
diff --git
a/root/etc/preinit
b/root/etc/preinit
index ccd3ab5bee6d94c6b28a5c0d82da49f36eb7ea91..f9bfd44b6b0014f03fc2472adfa3542f1db9edae 100755
(executable)
--- a/
root/etc/preinit
+++ b/
root/etc/preinit
@@
-1,6
+1,7
@@
#!/bin/sh
mount none /proc -t proc
mtd unlock mtd4
#!/bin/sh
mount none /proc -t proc
mtd unlock mtd4
+sleep 1
if /sbin/resetmon ; then
mount -t jffs2 /dev/mtdblock/4 /jffs
pivot_root /jffs /jffs/rom
if /sbin/resetmon ; then
mount -t jffs2 /dev/mtdblock/4 /jffs
pivot_root /jffs /jffs/rom