losetup /dev/block/loop1 $card/recovery.img mount -t ext3 /dev/block/loop1 /recovery echo "Switching to recovery" source /recovery/recovery