diff options
author | codeworkx <daniel.hillenbrand@codeworkx.de> | 2011-05-25 15:38:45 +0200 |
---|---|---|
committer | codeworkx <daniel.hillenbrand@codeworkx.de> | 2011-05-25 15:38:45 +0200 |
commit | 32f1062d6f60bf4a38c17413660ae1b4634d740c (patch) | |
tree | f6ee9c3f39ef20fd75d9220d9e6a90ba681830a0 /updater.sh | |
parent | df3cea31446851c6872ef744a2fc89898dd0380e (diff) | |
download | device_samsung_aries-common-32f1062d6f60bf4a38c17413660ae1b4634d740c.zip device_samsung_aries-common-32f1062d6f60bf4a38c17413660ae1b4634d740c.tar.gz device_samsung_aries-common-32f1062d6f60bf4a38c17413660ae1b4634d740c.tar.bz2 |
updater.sh: set permissions on /efs recursive after restoring the efsbackup from sdcard to the new efs partition
Change-Id: Ia99f13036ed61e0f85db9a1f479e1e71598a1a84
Diffstat (limited to 'updater.sh')
-rw-r--r-- | updater.sh | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -126,8 +126,16 @@ elif /tmp/busybox test -e /dev/block/mtdblock0 ; then exit 6 fi fi - + + # copy efsbackup from sdcard to new efs partition /tmp/busybox cp -R /sdcard/backup/efs / + + # set permissions on /efs + /tmp/busybox chown -R radio:radio /efs + /tmp/busybox chown -R bluetooth:bluetooth /efs/bluetooth + /tmp/busybox chmod -R 660 /efs + + # unmount /efs /tmp/busybox umount -l /efs else /tmp/busybox echo "Cannot restore efs." |