blob: 352cb4b0651ec2a6bf5828bf975d56b91765c150 [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 Duttaf0e31b82010-08-17 16:55:38 -07006kill $(ps | grep /sbin/adbd)
7kill $(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 Duttaf0e31b82010-08-17 16:55:38 -070016# Droid X
17if [ -f /init.mapphone_cdma.rc ]
Koushik Dutta20987072010-08-16 01:21:10 -070018then
19 /sbin/recovery &
20fi
21
Koushik Duttaf0e31b82010-08-17 16:55:38 -070022exit 1