android_device_htc_leo/postrecoveryboot.sh

8 lines
137 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