From d421b05c0d5788cbabeedda3811f78bbff1cf736 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Sun, 16 Oct 2011 20:40:56 +0100 Subject: [PATCH] leo: updated postrecoveryboot.sh with comments if we want dynamic change of recovery.fstab for sd-ext --- postrecoveryboot.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/postrecoveryboot.sh b/postrecoveryboot.sh index 6342351..d65a5ff 100755 --- a/postrecoveryboot.sh +++ b/postrecoveryboot.sh @@ -5,3 +5,12 @@ sleep 2 if [[ "`grep clk= /proc/cmdline`" == "" ]]; then sed -i 's/\/boot\t\tmtd/\/boot\t\tyaffs2/g' /etc/recovery.fstab fi + +# Commented out as it may or may not require this +#mount /dev/block/mmcblk0p2 /sd-ext | grep sd-ext | awk '{print $5}' +#FS=`mount | grep sd-ext | awk '{print $5}'` +#umount /sd-ext +#sed -i 's/\/sd-ext\ \ \ \ \ auto/\/sd-ext\t\t'$FS'/g' /etc/recovery.fstab +#cat >> /etc/fstab << EOF +#/dev/block/mmcblk0p2 /sd-ext $FS rw +#EOF