2 mount none /proc -t proc
4 echo 0x01 > /proc/sys/diag
6 if [ $(cat /proc/sys/reset) = 1 ] ; then
8 while :; do { echo $(((X=(X+1)%8)%2)) > /proc/sys/diag; sleep $((X==0)); } done &
10 mount | grep jffs2 1>&- || {
12 mount -t jffs2 /dev/mtdblock/4 /jffs
13 pivot_root /jffs /jffs/rom
15 mount none /dev -t devfs
16 mount none /proc -t proc
19 mount none /tmp -t ramfs