mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
bluez: set AutoEnable policy
This commit is contained in:
parent
0a6a5227b0
commit
25d93d8f5d
@ -72,6 +72,12 @@ post_makeinstall_target() {
|
|||||||
rm -rf $INSTALL/usr/bin/bluemoon
|
rm -rf $INSTALL/usr/bin/bluemoon
|
||||||
rm -rf $INSTALL/usr/bin/ciptool
|
rm -rf $INSTALL/usr/bin/ciptool
|
||||||
rm -rf $INSTALL/usr/share/dbus-1
|
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() {
|
post_install() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user