diff options
author | jt1134 <jt1134@gmail.com> | 2012-08-12 22:06:00 -0500 |
---|---|---|
committer | jt1134 <jt1134@gmail.com> | 2012-08-12 22:06:00 -0500 |
commit | bd5a67000ff7d4890063e14a042950538404469d (patch) | |
tree | 5cedfd8ce1c95f51e1a65d9de15a0b0bb0a369dc /updater.sh | |
parent | 459c6e0a71227753301490458cce6d83c69c74a9 (diff) | |
download | device_samsung_aries-common-bd5a67000ff7d4890063e14a042950538404469d.zip device_samsung_aries-common-bd5a67000ff7d4890063e14a042950538404469d.tar.gz device_samsung_aries-common-bd5a67000ff7d4890063e14a042950538404469d.tar.bz2 |
updater.sh: check multiple locations for nv_data.bin backup
Infuse4G stores nv_data.bin at efs/root/afs/settings/nv_data.bin
instead of /efs/nv_data.bin
Change-Id: Icaeecb4ab5c539d6fdbc10c10802034cb4a0cb0d
Diffstat (limited to 'updater.sh')
-rwxr-xr-x | updater.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -212,7 +212,8 @@ elif /tmp/busybox test -e /dev/block/mtdblock0 ; then if $IS_GSM ; then # restore efs backup - if /tmp/busybox test -e /sdcard/backup/efs/nv_data.bin ; then + if /tmp/busybox test -e /sdcard/backup/efs/nv_data.bin || \ + /tmp/busybox test -e /sdcard/backup/efs/root/afs/settings/nv_data.bin ; then /tmp/busybox umount -l /efs /tmp/erase_image efs /tmp/busybox mkdir -p /efs |