remove "mtd unlock" -- doesn't appear to be needed ?
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23
3c298f89-4303-0410-b956-
a3cf2f4a3e73
#!/bin/sh
sysctl -p
-
-insmod diag
-echo "0x01" > /proc/sys/diag
+echo "S" > /proc/jffs2_bbc
# networking stub
insmod et
#!/bin/sh
mount none /proc -t proc
-mtd unlock mtd4
+insmod diag
+echo 0x01 > /proc/sys/diag
sleep 1
if /sbin/resetmon ; then
mount -t jffs2 /dev/mtdblock/4 /jffs
umount rom/proc
umount rom/dev
else
- FAILSAFE=true
- export FAILSAFE
+ export FAILSAFE=true
fi
mount none /tmp -t ramfs
exec /sbin/init