android_bootable_recovery/killrecovery.sh

21 lines
399 B
Bash
Raw Normal View History

2010-06-09 22:49:44 +00:00
#!/sbin/sh
mkdir -p /sd-ext
2010-06-11 07:49:49 +00:00
rm /cache/recovery/command
rm /cache/update.zip
touch /tmp/.ignorebootmessage
2010-08-16 08:21:10 +00:00
#kill $(ps | grep /sbin/adbd)
#kill $(ps | grep /sbin/recovery)
2010-07-20 23:23:18 +00:00
# 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
2010-08-16 08:21:10 +00:00
if [ -f init.mapphone_cdma.rc ]
then
/sbin/recovery &
fi
2010-06-11 07:49:49 +00:00
exit 1