bluez: set AutoEnable policy

This commit is contained in:
ozolli 2017-01-31 15:09:10 +01:00
parent 7f950e25f3
commit 7e0bec8b5d

View File

@ -72,6 +72,12 @@ post_makeinstall_target() {
rm -rf $INSTALL/usr/bin/bluemoon
rm -rf $INSTALL/usr/bin/ciptool
rm -rf $INSTALL/usr/share/dbus-1
mkdir -p $INSTALL/etc/bluetooth
cp src/main.conf $INSTALL/etc/bluetooth
sed -i $INSTALL/etc/bluetooth/main.conf \
-e "s|^#\[Policy\]|\[Policy\]|g" \
-e "s|^#AutoEnable.*|AutoEnable=true|g"
}
post_install() {