summaryrefslogtreecommitdiffstats
path: root/init.rc
diff options
context:
space:
mode:
authorEd Heyl <edheyl@google.com>2010-08-30 13:21:23 -0700
committerEd Heyl <edheyl@google.com>2010-08-30 13:21:23 -0700
commite434df5efe6547968fe1e306c72d84ba5f32f3b0 (patch)
tree35e659b13e504863b1fa9077275ac27182958251 /init.rc
parent7bd30a7bf49f11b1057109708fee147919f08d7d (diff)
downloaddevice_samsung_crespo-e434df5efe6547968fe1e306c72d84ba5f32f3b0.tar.gz
device_samsung_crespo-e434df5efe6547968fe1e306c72d84ba5f32f3b0.tar.bz2
device_samsung_crespo-e434df5efe6547968fe1e306c72d84ba5f32f3b0.zip
add onedram device node and mount efs partition to enable radio
Change-Id: I2381e0ef73c441153351a48e5dc5d40793186761
Diffstat (limited to 'init.rc')
-rwxr-xr-xinit.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.rc b/init.rc
index 367d00d..38f9a0f 100755
--- a/init.rc
+++ b/init.rc
@@ -44,6 +44,7 @@ loglevel 3
mkdir /data 0771 system system
mkdir /cache 0770 system cache
mkdir /config 0500 root root
+ mkdir /efs 0664 radio radio
# Directory for putting things only root should see.
mkdir /mnt/secure 0700 root root
@@ -99,6 +100,7 @@ on fs
mount yaffs2 mtd@system /system ro remount
mount yaffs2 mtd@userdata /data nosuid nodev
mount yaffs2 mtd@cache /cache nosuid nodev
+ mount yaffs2 mtd@efs /efs nosuid nodev
on post-fs
# We chown/chmod /data again so because mount is run as root + defaults
@@ -268,6 +270,9 @@ on boot
# dev files for 3D
chmod 0666 /dev/pvrsrvkm
+ # for phone
+ chown radio radio /dev/onedram
+ chmod 0664 /dev/onedram
# Define TCP buffer sizes for various networks
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,