From 32c5e970f78cc4e382002e918dd9cb462b8b6d30 Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Sun, 7 Jan 2018 19:05:51 +0100 Subject: msm8996-common: rootdir: Fix wrong selinux status in the Settings app Signed-off-by: Davide Garberi --- rootdir/etc/init.qcom.rc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 5e7120d..755ad48 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -77,7 +77,6 @@ on fs restorecon_recursive /persist on boot - # Secure touch chmod 0660 /sys/devices/soc/75ba000.i2c/i2c-12/12-004a/secure_touch_enable chmod 0440 /sys/devices/soc/75ba000.i2c/i2c-12/12-004a/secure_touch @@ -511,6 +510,10 @@ on post-fs-data chown radio radio /data/vendor/radio/db_check_done chmod 0660 /data/vendor/radio/db_check_done +on property:dev.bootcomplete=1 + # Selinux status in settings + chmod 0644 /sys/fs/selinux/enforce + # start camera server as daemon service qcamerasvr /vendor/bin/mm-qcamera-daemon class main -- cgit v1.2.3