diff options
author | Jeff Sharkey <jsharkey@android.com> | 2012-08-20 13:21:11 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2012-08-20 13:21:11 -0700 |
commit | c1e8cb3717dcf2629a730fcbf63c17ac3dc6d822 (patch) | |
tree | bd65e27d395c56318f8a19fecb3c7ce366f6c0da | |
parent | 04c09e685eb17a87fe4a38cecc9bbdfbba72aa17 (diff) | |
download | device_samsung_tuna-c1e8cb3717dcf2629a730fcbf63c17ac3dc6d822.zip device_samsung_tuna-c1e8cb3717dcf2629a730fcbf63c17ac3dc6d822.tar.gz device_samsung_tuna-c1e8cb3717dcf2629a730fcbf63c17ac3dc6d822.tar.bz2 |
Migrate sdcard0 to shell-accessible location.
Bug: 7005701
Change-Id: I0c07505d9ccc2842186a00a4e96489063cc8c7e8
-rwxr-xr-x | init.tuna.rc | 10 |
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 \ |