summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdater.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/updater.sh b/updater.sh
index bd5d82d..3ffba5b 100755
--- a/updater.sh
+++ b/updater.sh
@@ -155,8 +155,12 @@ elif /tmp/busybox test -e /dev/block/mtdblock0 ; then
# flash boot image
/tmp/bml_over_mtd.sh boot 72 reservoir 2004 /tmp/boot.img
- # unmount system (recovery seems to expect system to be unmounted)
- /tmp/busybox umount -l /system
+ if ! $IS_GSM ; then
+ /tmp/bml_over_mtd.sh recovery 102 reservoir 2004 /tmp/boot.img
+ fi
+
+ # unmount system (recovery seems to expect system to be unmounted)
+ /tmp/busybox umount -l /system
exit 0
fi