summaryrefslogtreecommitdiffstats
path: root/updater.sh
diff options
context:
space:
mode:
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