android_device_htc_leo/postrecoveryboot.sh
Arif Ali a711c66fde leo: add postrecoveryboot to change recovery.fstab
Added the postrecoveryboot.sh script to change the recovery.fstab
so that it is comapitable for both cLK and magldr

Change-Id: I04eb1e5230e7fbc2f2e0b117d9086ec700b17c19
2011-05-09 21:44:33 +01:00

8 lines
131 B
Bash

#!/sbin/sh
sleep 2
if [[ ! `grep clk= /proc/cmdline` ]]; then
sed -i 's/\/boot\t\tmtd/\/boot\t\tyaffs2/g' /etc/recovery.fstab
fi