blob: 62c9f09309155f7e39f34612996266be0a31e899 [file] [log] [blame]
########################################################
# 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