diff options
Diffstat (limited to 'updater.sh')
-rwxr-xr-x | updater.sh | 29 |
1 files changed, 0 insertions, 29 deletions
@@ -156,35 +156,6 @@ elif /tmp/busybox test -e /dev/block/mtdblock0 ; then # everything is logged into /sdcard/cyanogenmod.log set_log /sdcard/cyanogenmod_mtd.log - if $IS_GSM ; then - # create mountpoint for radio partition - /tmp/busybox mkdir -p /radio - - # make sure radio partition is mounted - if ! /tmp/busybox grep -q /radio /proc/mounts ; then - /tmp/busybox umount -l /dev/block/mtdblock5 - if ! /tmp/busybox mount -t yaffs2 /dev/block/mtdblock5 /radio ; then - /tmp/busybox echo "Cannot mount radio partition." - exit 5 - fi - fi - - # if modem.bin doesn't exist on radio partition, format the partition and copy it - if ! /tmp/busybox test -e /radio/modem.bin ; then - /tmp/busybox umount -l /dev/block/mtdblock5 - /tmp/erase_image radio - if ! /tmp/busybox mount -t yaffs2 /dev/block/mtdblock5 /radio ; then - /tmp/busybox echo "Cannot copy modem.bin to radio partition." - exit 5 - else - /tmp/busybox cp /tmp/modem.bin /radio/modem.bin - fi - fi - - # unmount radio partition - /tmp/busybox umount -l /dev/block/mtdblock5 - fi - if ! /tmp/busybox test -e /sdcard/cyanogenmod.cfg ; then # update install - flash boot image then skip back to updater-script # (boot image is already flashed for first time install or old mtd upgrade) |