blob: 62c9f09309155f7e39f34612996266be0a31e899 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
########################################################
# BLUETOOTH CONFIGURATION - BROADCOM SPECIFIC
########################################################
on fs
mkdir /config/bt 0770 system bluetooth
setprop ro.bt.bdaddr_path /config/bt/bd_addr.conf
on early-boot
chmod 0644 /config/bt/bd_addr.conf
on post-fs-data
# Bluetooth
write /sys/class/rfkill/rfkill0/state 1
chmod 0660 /sys/class/rfkill/rfkill0/state
chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state
chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/type
########################################################
service dhcpcd_bt-pan /system/bin/dhcpcd -ABKL
class main
group bluetooth wifi system dhcp
disabled
oneshot
service iprenew_bt-pan /system/bin/dhcpcd -n
group bluetooth system dhcp
disabled
oneshot
|