android_device_htc_leo/postrecoveryboot.sh

8 lines
131 B
Bash
Raw Normal View History

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