aboutsummaryrefslogtreecommitdiffstats
path: root/killrecovery.sh
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2010-07-24 11:18:00 -0700
committerKoushik Dutta <koushd@gmail.com>2010-07-24 11:18:00 -0700
commit852bb420e7161cd26535ab57834f729b96b13bee (patch)
tree0ff9cb8ff6435bcff0b2a0abae18426b6aa11e19 /killrecovery.sh
parentd4060c3eb656ba475a4d9fea7f1fa786a82960f6 (diff)
downloadbootable_recovery-852bb420e7161cd26535ab57834f729b96b13bee.zip
bootable_recovery-852bb420e7161cd26535ab57834f729b96b13bee.tar.gz
bootable_recovery-852bb420e7161cd26535ab57834f729b96b13bee.tar.bz2
Do not unmount on wipe unless needed. Add reboot binary. Restart recovery process for Galaxy S.
Diffstat (limited to 'killrecovery.sh')
-rwxr-xr-xkillrecovery.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/killrecovery.sh b/killrecovery.sh
index 90f43e6..4c15f0b 100755
--- a/killrecovery.sh
+++ b/killrecovery.sh
@@ -6,4 +6,11 @@ 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
+
exit 1 \ No newline at end of file