summaryrefslogtreecommitdiffstats
path: root/init.herring.rc
diff options
context:
space:
mode:
authorJeonghwan Min <jh78.min@samsung.com>2012-01-17 17:09:13 +0900
committerWink Saville <wink@google.com>2012-01-19 12:07:53 -0800
commit9b6a9538cde13840b82447029df36986c7d90f94 (patch)
treeb418839217892a193e2d63dfc8be29105b861c6e /init.herring.rc
parent4fb4a98266215f685fc987661a9b4040f1a97b20 (diff)
downloaddevice_samsung_crespo-9b6a9538cde13840b82447029df36986c7d90f94.zip
device_samsung_crespo-9b6a9538cde13840b82447029df36986c7d90f94.tar.gz
device_samsung_crespo-9b6a9538cde13840b82447029df36986c7d90f94.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>
Diffstat (limited to 'init.herring.rc')
-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