android_device_htc_leo/postrecoveryboot.sh
2011-05-25 00:52:03 +01:00

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