2 if [ "$1" != "failsafe" ]; then
5 [ $(cat /proc/mtd | wc -l) = 6 ] && {
6 echo 5 > /proc/sys/diag
12 mount -o remount,rw /dev/root /
15 mount -t jffs2 /dev/mtdblock/4 /jffs
16 pivot_root /jffs /jffs/rom
17 mount none /proc -t proc
18 mount none /dev -t devfs
19 umount rom/proc rom/dev
22 mount none /tmp -t ramfs
24 mount none /dev/pts -t devpts