From b66d9686c42126c91f2291454238497f0e7d018a Mon Sep 17 00:00:00 2001 From: Ken Sumrall Date: Thu, 20 Oct 2011 22:33:13 -0700 Subject: 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 --- init.tuna.rc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'init.tuna.rc') 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 -- cgit v1.1