summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeonghwan Min <jh78.min@samsung.com>2012-01-17 17:09:13 +0900
committerKalimochoAz <calimochoazucarado@gmail.com>2012-03-30 18:30:29 +0200
commit2b0e6b5dc318da3b3f71943f9c4eb3e0e87b391b (patch)
tree0a423c0e3545761939f973ad3159cf1102664b37
parent8d7986c1ce25d9fc7643005dcfeaa916b5612f31 (diff)
downloaddevice_samsung_crespo-2b0e6b5dc318da3b3f71943f9c4eb3e0e87b391b.zip
device_samsung_crespo-2b0e6b5dc318da3b3f71943f9c4eb3e0e87b391b.tar.gz
device_samsung_crespo-2b0e6b5dc318da3b3f71943f9c4eb3e0e87b391b.tar.bz2
S5PC11X : RIL : Chage radio directory create sequence (Issue 5858560)
If target is encrypted, target mount userdata partition as tmpfs firstly. Then if user enter password, target mount userdata partition as ext4 by dm-0. At that time, target only excute post-fs-data section of init script. If there isn't radio directory on /data and we create radio dirctory on fs section of init script, we can't make radio directory on /data. So we need to chage radio directory create time from fs to post-fs-data. Change-Id: I6e7bd49ee5ab12045963965f6e1db9ec441dbeb0 Signed-off-by: Jeonghwan Min <jh78.min@samsung.com>
-rwxr-xr-xinit.herring.rc6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.herring.rc b/init.herring.rc
index f96b476..45ae2d2 100755
--- a/init.herring.rc
+++ b/init.herring.rc
@@ -56,8 +56,6 @@ on fs
# We chown/chmod /efs because mount is run as root + defaults
chown radio radio /efs
chmod 0775 /efs
- mkdir /data/radio 0775 radio radio
- mkdir /data/radio/log 0775 radio radio
# permissions for NFC
setprop ro.nfc.port "I2C"
@@ -72,6 +70,10 @@ on post-fs-data
mkdir /data/misc/wifi/sockets 0770 wifi wifi
mkdir /data/misc/dhcp 0770 dhcp dhcp
+# create radio & log for ril daemon
+ mkdir /data/radio 0775 radio radio
+ mkdir /data/radio/log 0775 radio radio
+
setprop vold.post_fs_data_done 1
service gpsd /system/vendor/bin/gpsd -c /vendor/etc/gps.xml