3 echo "Starting initrd boot..."
5 mount -t proc proc /proc
7 modprobe mtdram total_size=25088 erase_size=256
10 ID=`grep "mtdram test device" /proc/mtd | cut -d: -f1| cut -b4-`
12 cat /initrd.jffs2 >/dev/mtdblock$ID
15 mount -t jffs2 /dev/mtdblock$ID /mnt
18 exec switch_root -c /dev/console /mnt /sbin/init