diff options
author | Giulio Cervera <giulio.cervera@cyanogenmod.org> | 2016-01-16 14:51:24 +0100 |
---|---|---|
committer | Giulio Cervera <giulio.cervera@cyanogenmod.org> | 2016-01-16 14:51:24 +0100 |
commit | e6a8571a27ce129fc6a6b7dae9dd4e0785cef5e4 (patch) | |
tree | c156f19850fa8513594c59b27a805af0ff0f3b11 /rootdir/init.qcom.rc | |
parent | 8f3151dff59e2a5e7f048e0d08011faeb140fb75 (diff) |
Fix and cleanup BT permissions
Change-Id: I3ac9bb7992aff0f3e17114c2f76692b129d900e2
Diffstat (limited to 'rootdir/init.qcom.rc')
-rw-r--r-- | rootdir/init.qcom.rc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index d88780d..aa8e7ad 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -59,8 +59,8 @@ on init chown bluetooth bluetooth ${ro.bt.bdaddr_path} # bluetooth LPM - chown bluetooth bluetooth /proc/bluetooth/sleep/lpm - chown bluetooth bluetooth /proc/bluetooth/sleep/btwrite + chown bluetooth net_bt_stack /proc/bluetooth/sleep/lpm + chown bluetooth net_bt_stack /proc/bluetooth/sleep/btwrite write /sys/module/qpnp_rtc/parameters/poweron_alarm 1 @@ -107,12 +107,12 @@ on early-boot on boot write /sys/module/qpnp_power_on/parameters/forcecrash_on 1 - chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type - chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state + chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/type + chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state chmod 0660 /sys/class/rfkill/rfkill0/state - chown bluetooth bluetooth /dev/ttyHS0 + chown bluetooth net_bt_stack /dev/ttyHS0 chmod 0660 /dev/ttyHS0 - chown bluetooth bluetooth /sys/devices/platform/msm_serial_hs.0/clock + chown bluetooth net_bt_stack /sys/devices/platform/msm_serial_hs.0/clock chmod 0660 /sys/devices/platform/msm_serial_hs.0/clock # Create QMUX deamon socket area |