summaryrefslogtreecommitdiffstats
path: root/root/etc/preinit
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-05-11 04:02:51 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-05-11 04:02:51 +0000
commit95263b3ec73a8470ce4c3ea0ca09e835f7583b47 (patch)
tree8a28cd5f0111799708529fbdc134d85c1a5c5f2d /root/etc/preinit
parent91317132859300a8719eecafece9b3db9c7a7f6f (diff)
we still need mtd unlock
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'root/etc/preinit')
-rwxr-xr-xroot/etc/preinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/root/etc/preinit b/root/etc/preinit
index f37c02b83..6cb37c27e 100755
--- a/root/etc/preinit
+++ b/root/etc/preinit
@@ -2,7 +2,7 @@
mount none /proc -t proc
insmod diag
echo 0x01 > /proc/sys/diag
-sleep 1
+mtd unlock mtd4
if /sbin/resetmon ; then
mount -t jffs2 /dev/mtdblock/4 /jffs
pivot_root /jffs /jffs/rom