aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2012-11-30 04:34:36 +0100
committercodeworkx <codeworkx@cyanogenmod.org>2012-11-30 04:34:36 +0100
commit9501142e2839fa39f3c034538a9d1ce05a41568d (patch)
tree69f7038b00010bf92bd94446003514bcf59293b2
parent237d3b3386f008ffdba46944437a8b694b4bd1ae (diff)
downloaddevice_samsung_espressowifi-9501142e2839fa39f3c034538a9d1ce05a41568d.zip
device_samsung_espressowifi-9501142e2839fa39f3c034538a9d1ce05a41568d.tar.gz
device_samsung_espressowifi-9501142e2839fa39f3c034538a9d1ce05a41568d.tar.bz2
p31xx: create mountpoints for external sdcard and usbdisk
Change-Id: Ieb17cabcb08183fe8b56b5b060b064fa9f78e57e
-rwxr-xr-xinit.espresso.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.espresso.rc b/init.espresso.rc
index dd2b67b..3cb1418 100755
--- a/init.espresso.rc
+++ b/init.espresso.rc
@@ -1,8 +1,11 @@
import init.espresso.usb.rc
+
on init
mkdir /mnt/shell/emulated 0700 shell shell
mkdir /storage 0550 system sdcard_r
mkdir /storage/emulated 0555 root root
+ mkdir /storage/sdcard1 0775 system system
+ mkdir /storage/usbdisk0 0775 system system
export EXTERNAL_STORAGE /storage/emulated/legacy
export SECONDARY_STORAGE /storage/sdcard1
@@ -38,6 +41,7 @@ loglevel 7
on fs
mkdir /efs
mount_all fstab.espresso
+
chown radio system /efs
chmod 0775 /efs