summaryrefslogtreecommitdiffstats
path: root/updater.sh
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2011-05-18 22:15:23 -0700
committerKoushik Dutta <koushd@gmail.com>2011-05-18 22:15:23 -0700
commit89f4dec63a55f99873ae3e01864e336f67189273 (patch)
tree06db060acd10f0f8b01f8d7b7a3895754a91845d /updater.sh
parente983ccfc09be626ebf5615cfe59d32fe3960d18f (diff)
downloaddevice_samsung_aries-common-89f4dec63a55f99873ae3e01864e336f67189273.zip
device_samsung_aries-common-89f4dec63a55f99873ae3e01864e336f67189273.tar.gz
device_samsung_aries-common-89f4dec63a55f99873ae3e01864e336f67189273.tar.bz2
wipe any RM settings
Change-Id: I57cadec4b59037a3d4c462153f1016d53835c0bc
Diffstat (limited to 'updater.sh')
-rw-r--r--updater.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/updater.sh b/updater.sh
index 51630fe..53698a9 100644
--- a/updater.sh
+++ b/updater.sh
@@ -42,7 +42,7 @@ if /tmp/busybox test -e /dev/block/bml7 ; then
/tmp/busybox/mv /mnt/sdcard/backup/efs /mnt/sdcard/backup/efs-$$
fi
/tmp/busybox rm -rf /mnt/sdcard/backup/efs
-
+
/tmp/busybox mkdir -p /mnt/sdcard/backup/efs
/tmp/busybox cp -R /efs/ /mnt/sdcard/backup
@@ -52,6 +52,9 @@ if /tmp/busybox test -e /dev/block/bml7 ; then
/tmp/busybox echo "$PACKAGE_LOCATION" > /mnt/sdcard/cyanogenmod.cfg
fi
+ # Scorch any ROM Manager settings to require the user to reflash recovery
+ /tmp/busybox rm -f /mnt/sdcard/clockworkmod/.settings
+
# write new kernel to boot partition
/tmp/flash_image boot /tmp/boot.img
/tmp/busybox sync