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