summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-08-20 13:22:11 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-08-20 13:22:11 -0700
commit4fe63aa79be501fa9736e06e77827035a5f46ed1 (patch)
treeef97466084d88103dc77ca501cbe1b7b6cd3e7b9
parent49e52e5028a5ccb1ed254f48e70ac8d81d50b497 (diff)
parentc1e8cb3717dcf2629a730fcbf63c17ac3dc6d822 (diff)
downloaddevice_samsung_tuna-4fe63aa79be501fa9736e06e77827035a5f46ed1.zip
device_samsung_tuna-4fe63aa79be501fa9736e06e77827035a5f46ed1.tar.gz
device_samsung_tuna-4fe63aa79be501fa9736e06e77827035a5f46ed1.tar.bz2
Merge "Migrate sdcard0 to shell-accessible location." into jb-mr1-dev
-rwxr-xr-xinit.tuna.rc10
1 files changed, 7 insertions, 3 deletions
diff --git a/init.tuna.rc b/init.tuna.rc
index bf91ed4..647e8e5 100755
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -1,16 +1,20 @@
import init.tuna.usb.rc
on init
- mkdir /mnt/secure/sdcard0 0700 root root
+ mkdir /mnt/shell/sdcard0 0700 shell shell
+ # External storage path for apps
export EXTERNAL_STORAGE /storage/sdcard0
+ # External storage path for adb
+ export ADB_EXTERNAL_STORAGE /mnt/shell/sdcard0/0
+
mkdir /storage 0711 root root
mkdir /storage/sdcard0 0000 root root
symlink /storage/sdcard0 /sdcard
symlink /storage/sdcard0 /mnt/sdcard
# Save bugreports as owner
- export BUGREPORT_WRITE_PATH /mnt/secure/sdcard0/0
+ export BUGREPORT_WRITE_PATH /mnt/shell/sdcard0/0
export BUGREPORT_READ_PATH /storage/sdcard0
on post-fs-data
@@ -167,7 +171,7 @@ service smc_pa_wvdrm /system/bin/smc_pa_ctrl \
oneshot
# virtual sdcard daemon running as media_rw (1023)
-service sdcard /system/bin/sdcard /data/media /mnt/secure/sdcard0 1023 1023
+service sdcard /system/bin/sdcard /data/media /mnt/shell/sdcard0 1023 1023
class late_start
service p2p_supplicant /system/bin/wpa_supplicant \