summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Pinela <sheffzor@gmail.com>2017-09-19 20:56:58 +0100
committerAndré Pinela <sheffzor@gmail.com>2017-10-15 21:24:47 +0100
commit94ed24e16ef0ece56b0f3c172069c92bd79cbe85 (patch)
tree3116e5752b5bfde9e619ca87df63bda03c2624cb
parent169fb80442b87bf1720ea51bd1efd27b89a6db18 (diff)
grouper: Replace net_bt_stack group with bluetooth
Change-Id: If17fa3e99b7eb779b02119ce45679c9bcd318c79 Signed-off-by: André Pinela <sheffzor@gmail.com>
-rw-r--r--rootdir/init.grouper.rc16
1 files changed, 8 insertions, 8 deletions
diff --git a/rootdir/init.grouper.rc b/rootdir/init.grouper.rc
index 92f7a00..c8d528b 100644
--- a/rootdir/init.grouper.rc
+++ b/rootdir/init.grouper.rc
@@ -33,25 +33,25 @@ on post-fs-data
on boot
# Bluetooth UART device
chmod 0660 /dev/ttyHS2
- chown bluetooth net_bt_stack /dev/ttyHS2
+ chown bluetooth bluetooth /dev/ttyHS2
# Bluetooth power up/down interface
chmod 0660 /sys/class/rfkill/rfkill0/state
chmod 0660 /sys/class/rfkill/rfkill0/type
- chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state
- chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/type
+ chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
+ chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
# Bluetooth MAC address programming
- chown bluetooth net_bt_stack ro.bt.bdaddr_path
- chown bluetooth net_bt_stack /system/etc/bluetooth
- chown bluetooth net_bt_stack /data/misc/bluetooth
+ chown bluetooth bluetooth ro.bt.bdaddr_path
+ chown bluetooth bluetooth /system/etc/bluetooth
+ chown bluetooth bluetooth /data/misc/bluetooth
setprop ro.bt.bdaddr_path "/data/misc/bluetooth/bdaddr"
# Bluetooth LPM
chmod 0220 /proc/bluetooth/sleep/lpm
chmod 0220 /proc/bluetooth/sleep/btwrite
- chown bluetooth net_bt_stack /proc/bluetooth/sleep/lpm
- chown bluetooth net_bt_stack /proc/bluetooth/sleep/btwrite
+ chown bluetooth bluetooth /proc/bluetooth/sleep/lpm
+ chown bluetooth bluetooth /proc/bluetooth/sleep/btwrite
# NFC
chmod 0660 /dev/pn544