From 2b0e6b5dc318da3b3f71943f9c4eb3e0e87b391b Mon Sep 17 00:00:00 2001 From: Jeonghwan Min Date: Tue, 17 Jan 2012 17:09:13 +0900 Subject: 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 --- init.herring.rc | 6 ++++-- 1 file 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 -- cgit v1.1