2 mount none /proc -t proc
4 echo 0x01 > /proc/sys/diag
6 if [ $(cat /proc/sys/reset) = 0 ] ; then
8 mount -t jffs2 /dev/mtdblock/4 /jffs
9 pivot_root /jffs /jffs/rom
10 mount none /dev -t devfs
11 mount none /proc -t proc
12 umount rom/proc rom/dev
16 mount none /tmp -t ramfs