3 if [ "$1" != "failsafe" ]; then
6 if [ $(cat /proc/mtd | wc -l) = 6 ]; then
7 [ -f /proc/sys/diag ] && echo 5 > /proc/sys/diag
13 mount -o remount,rw /dev/root /
16 if [ \! -x /usr/sbin/nvram -o -z "$(nvram get no_root_swap)" ]; then
18 mount -t jffs2 /dev/mtdblock/4 /jffs
19 pivot_root /jffs /jffs/rom
20 mount none /proc -t proc
21 mount none /dev -t devfs
22 umount /rom/proc rom/dev >&-
26 mount none /tmp -t tmpfs -o nosuid,nodev,mode=1777,size=50%
28 mount none /dev/pts -t devpts