summaryrefslogtreecommitdiff
path: root/utils/bluez/patches
diff options
context:
space:
mode:
authorDaniel Engberg <daniel.engberg.lists@pyret.net>2018-06-12 01:14:24 +0200
committerDaniel Engberg <daniel.engberg.lists@pyret.net>2018-06-12 01:35:01 +0200
commitf1fddab924f31d9e467c44fe65c8f95ac01130c5 (patch)
treeac35949e07db474deb8a77dede0496b71f95c1f5 /utils/bluez/patches
parent48d5f1a591987c06ccf160e6639ed1dd47841ba4 (diff)
bluez: Disable printing subsystem rule
By default bluez allows the printing subsystem to communicate via dbus. This refers to the group lp which isn't available on OpenWrt and makes dbus fail to start. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Diffstat (limited to 'utils/bluez/patches')
-rw-r--r--utils/bluez/patches/204-no-printing-subsystem.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/bluez/patches/204-no-printing-subsystem.patch b/utils/bluez/patches/204-no-printing-subsystem.patch
new file mode 100644
index 000000000..698fe232f
--- /dev/null
+++ b/utils/bluez/patches/204-no-printing-subsystem.patch
@@ -0,0 +1,17 @@
+diff --git a/src/bluetooth.conf b/src/bluetooth.conf
+index 0c0b221..013cf97 100644
+--- a/src/bluetooth.conf
++++ b/src/bluetooth.conf
+@@ -26,10 +26,10 @@
+ </policy>
+
+ <!-- allow users of lp group (printing subsystem) to
+- communicate with bluetoothd -->
++ communicate with bluetoothd
+ <policy group="lp">
+ <allow send_destination="org.bluez"/>
+- </policy>
++ </policy> -->
+
+ <policy context="default">
+ <deny send_destination="org.bluez"/>