Skip to content

Commit

Permalink
S5PC11X : RIL : Chage radio directory create sequence (Issue 5858560)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jh78min authored and KalimochoAz committed Mar 30, 2012
1 parent 8d7986c commit 2b0e6b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions init.herring.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 2b0e6b5

Please sign in to comment.