diff options
author | Ken Sumrall <ksumrall@android.com> | 2011-10-20 22:33:13 -0700 |
---|---|---|
committer | Ken Sumrall <ksumrall@android.com> | 2012-01-11 18:38:07 -0800 |
commit | b66d9686c42126c91f2291454238497f0e7d018a (patch) | |
tree | c1e9abb1c822a5577d649198cc20b85c9004c54e /init.tuna.rc | |
parent | 3ac2a557715971b2c301ec38fbf054f5c43dc48e (diff) | |
download | device_samsung_tuna-b66d9686c42126c91f2291454238497f0e7d018a.zip device_samsung_tuna-b66d9686c42126c91f2291454238497f0e7d018a.tar.gz device_samsung_tuna-b66d9686c42126c91f2291454238497f0e7d018a.tar.bz2 |
Create /data/radio directory in post-fs-data section
All files/directories created by init*.rc in /data must be done in the
post-fs-data section, otherwise they won't get created if the device is
encrypted with wipe.
Change-Id: I456632800daf3f63d42924de911d7c143c16d8ea
Diffstat (limited to 'init.tuna.rc')
-rwxr-xr-x | init.tuna.rc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/init.tuna.rc b/init.tuna.rc index 70f1cbe..9450142 100755 --- a/init.tuna.rc +++ b/init.tuna.rc @@ -23,6 +23,9 @@ on post-fs-data mkdir /data/misc/camera 0770 media media mkdir /data/misc/camera/R5_MVEN003_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1044 0770 media media + mkdir /data/radio 0775 radio radio + mkdir /data/radio/log 0775 radio radio + setprop vold.post_fs_data_done 1 # LTE @@ -77,8 +80,6 @@ on fs # We chown/chmod /factory because mount is run as root + defaults chown radio radio /factory chmod 0775 /factory - mkdir /data/radio 0775 radio radio - mkdir /data/radio/log 0775 radio radio # add symlink for HDCP key symlink /factory/hdcp.keys /system/vendor/firmware/hdcp.keys |