Add missing restorecon_recursive calls.

Match the ones in init.flo.rc.

Change-Id: If13f8b3412426983f0b6da24a3a0f20170b01972
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
This commit is contained in:
Stephen Smalley 2014-02-25 14:41:11 -05:00
parent 8816fbdd1e
commit 5dfd0c1356

View file

@ -135,6 +135,10 @@ on boot
# msm specific files that need to be created on /data
on post-fs-data
mkdir /data/media 0770 media_rw media_rw
restorecon_recursive /data/media
# Apply correct labeling to DRM files
restorecon_recursive /data/misc/playready
chown system system /dev/wcnss_wlan
write /sys/module/wcnss_ssr_8960/parameters/enable_riva_ssr 1
@ -151,6 +155,7 @@ on post-fs-data
# Create directory used by audio subsystem
mkdir /data/misc/audio 0770 audio audio
restorecon_recursive /data/misc/audio
# Mounting of persist is moved to 'on emmc-fs' and 'on fs' sections
# We chown/chmod /persist again so because mount is run as root + defaults