summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinit.tuna.rc14
1 files changed, 6 insertions, 8 deletions
diff --git a/init.tuna.rc b/init.tuna.rc
index 6181640..466ee7c 100755
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -3,19 +3,17 @@ import init.tuna.usb.rc
on init
# See storage config details at http://source.android.com/tech/storage/
mkdir /mnt/shell/emulated 0700 shell shell
- mkdir /storage/emulated 0000 root root
- mkdir /storage/emulated_legacy 0000 root root
-
- export EXTERNAL_STORAGE /storage/emulated_legacy
- export ADB_EXTERNAL_STORAGE /mnt/shell/emulated/0
+ mkdir /storage/emulated 0555 root root
+ export EXTERNAL_STORAGE /storage/emulated/legacy
export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
export EMULATED_STORAGE_TARGET /storage/emulated
# Support legacy paths
- symlink /storage/emulated_legacy /sdcard
- symlink /storage/emulated_legacy /mnt/sdcard
- symlink /storage/emulated_legacy /storage/sdcard0
+ symlink /storage/emulated/legacy /sdcard
+ symlink /storage/emulated/legacy /mnt/sdcard
+ symlink /storage/emulated/legacy /storage/sdcard0
+ symlink /mnt/shell/emulated/0 /storage/emulated/legacy
on post-fs-data
mkdir /data/media 0770 media_rw media_rw