summaryrefslogtreecommitdiffstats
path: root/updater.sh
diff options
context:
space:
mode:
Diffstat (limited to 'updater.sh')
-rw-r--r--updater.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/updater.sh b/updater.sh
index 377ba8a..fc3d694 100644
--- a/updater.sh
+++ b/updater.sh
@@ -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."