From: mbm Date: Tue, 11 May 2004 04:02:51 +0000 (+0000) Subject: we still need mtd unlock X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=95263b3ec73a8470ce4c3ea0ca09e835f7583b47;p=openwrt-10.03%2F.git we still need mtd unlock git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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