feat(profiles): minor improvments.
This commit is contained in:
parent
7c2e92ba03
commit
f71c0e41f8
13 changed files with 85 additions and 51 deletions
|
|
@ -7,14 +7,28 @@ abi <abi/3.0>,
|
|||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/nm-dispatcher
|
||||
@{exec_path} += /{usr/,}lib/NetworkManager/nm-dispatcher
|
||||
profile nm-dispatcher @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dbus-strict>
|
||||
|
||||
capability sys_nice,
|
||||
|
||||
dbus receive bus=system path=/org/freedesktop/nm_dispatcher
|
||||
interface=org.freedesktop.nm_dispatcher,
|
||||
|
||||
dbus bind bus=system
|
||||
name=org.freedesktop.nm_dispatcher,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/NetworkManager/dispatcher.d/{,**} r,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/run-parts rPx,
|
||||
|
||||
/etc/NetworkManager/dispatcher.d/ r,
|
||||
/etc/NetworkManager/dispatcher.d/** rix,
|
||||
|
||||
@{run}/systemd/notify rw,
|
||||
|
||||
include if exists <local/nm-dispatcher>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue