bluez: set AutoEnable policy

This commit is contained in:
ozolli 2017-02-02 09:45:27 +01:00
parent 0a6a5227b0
commit 25d93d8f5d

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() {