Skip to content
Snippets Groups Projects
Commit 0b18ec03 authored by Zbigniew Bodek's avatar Zbigniew Bodek
Browse files

bluez5: Install main.conf and enable BLE on boot


Add bbappend to install main.conf file and set
AutoEnable flag to bring up BLE during boot.
Other options are commented out by default, they
may be useful for further BLE behavior tuning.

Signed-off-by: default avatarZbigniew Bodek <zbigniew.bodek@huawei.com>
parent 2d1b75fb
No related branches found
No related tags found
No related merge requests found
do_install_append() {
# Install main.conf file and turn on AutoEnable flag
# to bring up BLE controller on boot.
if [ -f ${S}/src/main.conf ]; then
install -m 0644 ${S}/src/main.conf ${D}/${sysconfdir}/bluetooth/
sed -i 's/#AutoEnable=false/AutoEnable=true/g' \
${D}/${sysconfdir}/bluetooth/main.conf
fi
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment