feat(dbus): rewrite some dbus rules (4).
This commit is contained in:
parent
d1affd31f6
commit
2432414ae2
13 changed files with 61 additions and 143 deletions
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
|||
@{exec_path} = @{lib}/fprintd
|
||||
profile fprintd @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/bus/login>
|
||||
include <abstractions/dbus-strict>
|
||||
include <abstractions/devices-usb>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
|
@ -23,11 +24,6 @@ profile fprintd @{exec_path} flags=(attach_disconnected) {
|
|||
interface={org.freedesktop.DBus.Properties,net.reactivated.Fprint.Manager}
|
||||
peer=(name=:*),
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/login1
|
||||
interface=org.freedesktop.login1.Manager
|
||||
member=Inhibit
|
||||
peer=(name=org.freedesktop.login1),
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/fprintd.conf r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue