From 338ce8dc7034dc0480dae2e348ae91327bdf6027 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Mon, 10 Sep 2018 13:20:05 +0200 Subject: move the bluetooth mac address to /data/vendor This change is necessary for selinux permisisons Change-Id: I67c3b1272ef147a440279d7f20418f1e268508d9 Signed-off-by: Alin Jerpelea --- rootdir/init.qcom.rc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rootdir') diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 7b09c63..b84f7b8 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -375,6 +375,9 @@ on post-fs-data mkdir /data/vendor/wifi/wpa 0770 wifi wifi mkdir /data/vendor/wifi/wpa/sockets 0770 wifi wifi + # Create directory used by bluetooth subsystem + mkdir /data/vendor/bluetooth 2770 bluetooth bluetooth + # Provide the access to hostapd.conf only to root and group chmod 0660 /data/hostapd/hostapd.conf -- cgit v1.2.3