2 if [ "$1" != "failsafe" ]; then
5 if [ $(cat /proc/mtd | wc -l) = 6 ]; then
6 echo 5 > /proc/sys/diag
12 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 tmpfs -o nosuid,nodev,mode=1777,size=50%
25 mount none /dev/pts -t devpts