summaryrefslogtreecommitdiff
path: root/init.shamu.rc
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-04-17 03:35:14 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-17 03:35:14 +0000
commit663e5be5a6ae09f2e92dd50b6c69dffe20641a7e (patch)
tree56a47528e9f9284e08bbfd3d5a7301fb084a9b4c /init.shamu.rc
parent9309a30596ab71698a54dc578df234f5e40ff67c (diff)
parent81b209d60f46042e0a9134bdc0e25b3a96b1bedd (diff)
downloadshamu-663e5be5a6ae09f2e92dd50b6c69dffe20641a7e.tar.gz
am 81b209d6: am e0b81ee3: am c214f762: Updated external storage configuration.
* commit '81b209d60f46042e0a9134bdc0e25b3a96b1bedd': Updated external storage configuration.
Diffstat (limited to 'init.shamu.rc')
-rw-r--r--init.shamu.rc23
1 files changed, 2 insertions, 21 deletions
diff --git a/init.shamu.rc b/init.shamu.rc
index 4219acee..04d61e33 100644
--- a/init.shamu.rc
+++ b/init.shamu.rc
@@ -25,28 +25,17 @@ on early-init
chown system system /sys/kernel/debug/kgsl/proc
on init
- # See storage config details at http://source.android.com/tech/storage/
- mkdir /mnt/shell/emulated 0700 shell shell
- mkdir /storage/emulated 0555 root root
-
mkdir /oem 0550 root root
# Set permissions for persist partition
mkdir /persist 0771 system system
- 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 /mnt/shell/emulated/0 /storage/emulated/legacy
+ symlink /sdcard /mnt/sdcard
+ symlink /sdcard /storage/sdcard0
on fs
mount_all fstab.shamu
- setprop ro.crypto.fuse_sdcard true
# Keeping following partitions outside fstab file. As user may not have
# these partition flashed on the device. Failure to mount any partition in fstab file
@@ -253,10 +242,6 @@ on property:persist.sys.qc.sub.rdump.on=*
# msm specific files that need to be created on /data
on post-fs-data
- # we will remap this as /mnt/sdcard with the sdcard fuse tool
- mkdir /data/media 0770 media_rw media_rw
- chown media_rw media_rw /data/media
-
mkdir /data/misc/bluetooth 0770 bluetooth bluetooth
# Create the directories used by the Wireless subsystem
@@ -498,10 +483,6 @@ on property:ro.data.large_tcp_window_size=true
# Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB)
write /proc/sys/net/ipv4/tcp_adv_win_scale 2
-# virtual sdcard daemon running as media_rw (1023)
-service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
- class late_start
-
on charger
write /sys/class/leds/lcd-backlight/brightness 100
mount ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system ro barrier=1