diff options
author | Ben Brewer <ben.brewer@codethink.co.uk> | 2012-10-09 15:34:15 +0000 |
---|---|---|
committer | Ben Brewer <ben.brewer@codethink.co.uk> | 2012-10-09 15:34:15 +0000 |
commit | dbe3d4b859d51b8c2b4d63b981f351de20f3282b (patch) | |
tree | 502f9081ccfc8709939ace9046bbaa95003b6aad | |
parent | 83b40200fc780f110a488464c81241d54d17964c (diff) | |
download | bluez-dbe3d4b859d51b8c2b4d63b981f351de20f3282b.tar.gz |
Added bluez.conf to morph file.
-rw-r--r-- | bluez.conf | 14 | ||||
-rw-r--r-- | bluez.morph | 3 |
2 files changed, 16 insertions, 1 deletions
diff --git a/bluez.conf b/bluez.conf new file mode 100644 index 000000000..84a12ad3f --- /dev/null +++ b/bluez.conf @@ -0,0 +1,14 @@ +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + <policy user="root"> + <allow own="org.bluez"/> + <allow send_destination="org.bluez"/> + </policy> + <policy at_console="true"> + <allow send_destination="org.bluez"/> + </policy> + <policy context="default"> + <deny send_destination="org.bluez"/> + </policy> +</busconfig> diff --git a/bluez.morph b/bluez.morph index ce9fcb5ff..e078f49a9 100644 --- a/bluez.morph +++ b/bluez.morph @@ -12,6 +12,7 @@ "install -m755 test/simple-agent \"$DESTDIR/usr/bin\"", "install -m755 test/simple-service \"$DESTDIR/usr/bin\"", "install -m755 test/monitor-bluetooth \"$DESTDIR/usr/bin\"", - "install -m755 test/list-devices \"$DESTDIR/usr/bin/list-bluetooth-devices\"" + "install -m755 test/list-devices \"$DESTDIR/usr/bin/list-bluetooth-devices\"", + "install -m664 bluez.conf \"$DESTDIR/etc/dbus-1/system.d\"" ] } |