reverted to fix mtd glitch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@85 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Mike Baker
2004-07-11 09:09:59 +00:00
parent 9f54d8e329
commit 1658ee800b

View File

@@ -4,8 +4,8 @@ insmod diag
echo 0x01 > /proc/sys/diag
sleep 1
if /sbin/resetmon ; then
mount -t jffs2 /dev/mtdblock/4 /jffs && \
mtd unlock mtd4 &
mtd unlock mtd4
mount -t jffs2 /dev/mtdblock/4 /jffs
pivot_root /jffs /jffs/rom
mount none /dev -t devfs
mount none /proc -t proc