we still need mtd unlock
authorMike Baker <mbm@openwrt.org>
Tue, 11 May 2004 04:02:51 +0000 (04:02 +0000)
committerMike Baker <mbm@openwrt.org>
Tue, 11 May 2004 04:02:51 +0000 (04:02 +0000)
SVN-Revision: 28

root/etc/preinit

index f37c02b837fba3e378f5dba76050db84ba28de80..6cb37c27e85d23be7d28e986836f70a85192f43e 100755 (executable)
@@ -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