blob: 776725e654244613711dbb8bc734ae6798fa431c [file] [log] [blame]
Koushik Duttacdb63352010-06-09 15:49:44 -07001#!/sbin/sh
2mkdir -p /sd-ext
Koushik Dutta1741dcd2010-06-11 00:49:49 -07003rm /cache/recovery/command
4rm /cache/update.zip
5touch /tmp/.ignorebootmessage
Koushik Dutta20987072010-08-16 01:21:10 -07006#kill $(ps | grep /sbin/adbd)
7#kill $(ps | grep /sbin/recovery)
Koushik Dutta5aaa8232010-07-20 16:23:18 -07008
Koushik Dutta852bb422010-07-24 11:18:00 -07009# On the Galaxy S, the recovery comes test signed, but the
10# recovery is not automatically restarted.
11if [ -f /init.smdkc110.rc ]
12then
13 /sbin/recovery &
14fi
15
Koushik Dutta20987072010-08-16 01:21:10 -070016if [ -f init.mapphone_cdma.rc ]
17then
18 /sbin/recovery &
19fi
20
Koushik Dutta1741dcd2010-06-11 00:49:49 -070021exit 1