we still need mtd unlock

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Mike Baker 2004-05-11 04:02:51 +00:00
parent af0bb0db0c
commit 5e6a6b6507

View File

@ -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