android_bootable_recovery/killrecovery.sh
2010-08-16 01:21:10 -07:00

21 lines
399 B
Bash
Executable File

#!/sbin/sh
mkdir -p /sd-ext
rm /cache/recovery/command
rm /cache/update.zip
touch /tmp/.ignorebootmessage
#kill $(ps | grep /sbin/adbd)
#kill $(ps | grep /sbin/recovery)
# On the Galaxy S, the recovery comes test signed, but the
# recovery is not automatically restarted.
if [ -f /init.smdkc110.rc ]
then
/sbin/recovery &
fi
if [ -f init.mapphone_cdma.rc ]
then
/sbin/recovery &
fi
exit 1