android_device_htc_leo/postrecoveryboot.sh

8 lines
131 B
Bash
Executable File

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