Koushik Dutta | cdb6335 | 2010-06-09 15:49:44 -0700 | [diff] [blame] | 1 | #!/sbin/sh |
| 2 | mkdir -p /sd-ext |
Koushik Dutta | 1741dcd | 2010-06-11 00:49:49 -0700 | [diff] [blame] | 3 | rm /cache/recovery/command |
| 4 | rm /cache/update.zip |
| 5 | touch /tmp/.ignorebootmessage |
Koushik Dutta | f0e31b8 | 2010-08-17 16:55:38 -0700 | [diff] [blame] | 6 | kill $(ps | grep /sbin/adbd) |
| 7 | kill $(ps | grep /sbin/recovery) |
Koushik Dutta | 5aaa823 | 2010-07-20 16:23:18 -0700 | [diff] [blame] | 8 | |
Koushik Dutta | 852bb42 | 2010-07-24 11:18:00 -0700 | [diff] [blame] | 9 | # On the Galaxy S, the recovery comes test signed, but the |
| 10 | # recovery is not automatically restarted. |
| 11 | if [ -f /init.smdkc110.rc ] |
| 12 | then |
| 13 | /sbin/recovery & |
| 14 | fi |
| 15 | |
Koushik Dutta | f0e31b8 | 2010-08-17 16:55:38 -0700 | [diff] [blame] | 16 | # Droid X |
| 17 | if [ -f /init.mapphone_cdma.rc ] |
Koushik Dutta | 2098707 | 2010-08-16 01:21:10 -0700 | [diff] [blame] | 18 | then |
| 19 | /sbin/recovery & |
| 20 | fi |
| 21 | |
Koushik Dutta | f0e31b8 | 2010-08-17 16:55:38 -0700 | [diff] [blame] | 22 | exit 1 |