6 mount | grep jffs2 && {
7 echo "firstboot has already been run"
8 echo "to run firstboot again you must boot failsafe"
13 mount -t jffs2 /dev/mtdblock/4 /jffs
14 mount /dev/mtdblock/2 /rom -o ro
21 for file in $(cd /rom; find * -type f; find * -type l;)
23 ln -sf /rom/$file $file
26 touch /tmp/resolv.conf
27 ln -s /tmp/resolv.conf /etc/resolv.conf
30 mount none /jffs/proc -t proc
31 pivot_root /jffs /jffs/rom
32 mount none /dev -t devfs
33 mount none /tmp -t ramfs