aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsmx <smx@smx.com>2015-02-14 13:52:51 +0100
committerAndreas Blaesius <skate4life@gmx.de>2015-03-06 12:50:01 -0700
commitaf8d0f3f2ad847da8f5f767d01be4af94f6c5986 (patch)
tree29a5782be79ce5a40b8cb323e82488d10800291b
parent8a58156440822ee744acf606914bf6d2b41ebc41 (diff)
downloaddevice_samsung_espresso3g-af8d0f3f2ad847da8f5f767d01be4af94f6c5986.zip
device_samsung_espresso3g-af8d0f3f2ad847da8f5f767d01be4af94f6c5986.tar.gz
device_samsung_espresso3g-af8d0f3f2ad847da8f5f767d01be4af94f6c5986.tar.bz2
P51XX: Add usbdisk0 to "export SECONDARY_STORAGE"
Change-Id: I3bf50d41b25a4fdaba3e5d689112e2706a401b96
-rwxr-xr-xrootdir/init.espresso10.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/rootdir/init.espresso10.rc b/rootdir/init.espresso10.rc
index 9a910fd..9174450 100755
--- a/rootdir/init.espresso10.rc
+++ b/rootdir/init.espresso10.rc
@@ -10,9 +10,9 @@ on init
mkdir /mnt/media_rw/usbdisk0 0700 media_rw media_rw
export EXTERNAL_STORAGE /storage/emulated/legacy
- export SECONDARY_STORAGE /storage/sdcard1
export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
export EMULATED_STORAGE_TARGET /storage/emulated
+ export SECONDARY_STORAGE /storage/sdcard1:/storage/usbdisk0
# for backwards compatibility
symlink /storage/emulated/legacy /sdcard
@@ -47,12 +47,12 @@ on fs
mkdir /efs
mount_all /fstab.espresso10
+ setprop ro.crypto.fuse_sdcard true
+
# We chown/chmod /efs because mount is run as root + defaults
chown radio system /efs
chmod 0775 /efs
- setprop ro.crypto.fuse_sdcard true
-
mount debugfs /sys/kernel/debug /sys/kernel/debug
# Restorecon