summaryrefslogtreecommitdiff
path: root/package/bluez/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-06-18 13:49:58 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-06-19 16:10:16 +0200
commit68fa4f1813a04b7f3774a7e809940e11364484f9 (patch)
treebeee9df3066b963ceb15311223e6eacad631d276 /package/bluez/files
parent7c7fdd0d865e0d65e4a18942fab1fce65e16a94f (diff)
bluez: add kernel depends
Diffstat (limited to 'package/bluez/files')
-rw-r--r--package/bluez/files/bluetooth.conf20
-rw-r--r--package/bluez/files/bluez.init4
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