diff options
Diffstat (limited to 'package/bluez/files')
-rw-r--r-- | package/bluez/files/bluetooth.conf | 20 | ||||
-rw-r--r-- | package/bluez/files/bluez.init | 4 |
2 files changed, 14 insertions, 10 deletions
diff --git a/package/bluez/files/bluetooth.conf b/package/bluez/files/bluetooth.conf index 796354692..5ea3cdfcc 100644 --- a/package/bluez/files/bluetooth.conf +++ b/package/bluez/files/bluetooth.conf @@ -10,20 +10,24 @@ <policy user="root"> <allow own="org.bluez"/> <allow send_destination="org.bluez"/> - <allow send_interface="org.bluez.Agent"/> + <allow send_interface="org.bluez.Agent1"/> + <allow send_interface="org.bluez.MediaEndpoint1"/> + <allow send_interface="org.bluez.MediaPlayer1"/> + <allow send_interface="org.bluez.ThermometerWatcher1"/> + <allow send_interface="org.bluez.AlertAgent1"/> + <allow send_interface="org.bluez.Profile1"/> + <allow send_interface="org.bluez.HeartRateWatcher1"/> + <allow send_interface="org.bluez.CyclingSpeedWatcher1"/> + <allow send_interface="org.bluez.GattCharacteristic1"/> + <allow send_interface="org.bluez.GattDescriptor1"/> + <allow send_interface="org.freedesktop.DBus.ObjectManager"/> + <allow send_interface="org.freedesktop.DBus.Properties"/> </policy> <policy at_console="true"> <allow send_destination="org.bluez"/> </policy> - <!-- allow users of lp group (printing subsystem) to - communicate with bluetoothd - <policy group="lp"> - <allow send_destination="org.bluez"/> - </policy> - --> - <policy context="default"> <deny send_destination="org.bluez"/> </policy> diff --git a/package/bluez/files/bluez.init b/package/bluez/files/bluez.init index ed4faa547..489b9714b 100644 --- a/package/bluez/files/bluez.init +++ b/package/bluez/files/bluez.init @@ -11,10 +11,10 @@ autostart) exec sh $0 start ;; start) - /usr/sbin/bluetoothd + /usr/libexec/bluetooth/bluetoothd ;; stop) - kill $(pgrep -f /usr/sbin/bluetoothd) + kill $(pgrep -f /usr/libexec/bluetooth/bluetoothd) ;; restart) sh $0 stop |