diff options
author | Koushik Dutta <koushd@gmail.com> | 2011-05-18 22:15:23 -0700 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2011-05-18 22:15:23 -0700 |
commit | 89f4dec63a55f99873ae3e01864e336f67189273 (patch) | |
tree | 06db060acd10f0f8b01f8d7b7a3895754a91845d /updater.sh | |
parent | e983ccfc09be626ebf5615cfe59d32fe3960d18f (diff) | |
download | device_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.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |