refactor(profiles): use @{bin} and @{lib} in profiles (4)
This commit is contained in:
parent
27daa7c9bb
commit
43b0f09b65
173 changed files with 909 additions and 916 deletions
|
|
@ -11,20 +11,20 @@ profile acpi-powerbtn flags=(attach_disconnected) {
|
|||
|
||||
/etc/acpi/powerbtn-acpi-support.sh r,
|
||||
|
||||
/{usr/,}{s,}bin/killall5 rix,
|
||||
/{usr/,}{s,}bin/shutdown rix,
|
||||
/{usr/,}bin/{ba,da,}sh rix,
|
||||
/{usr/,}bin/{e,}grep rix,
|
||||
/{usr/,}bin/dbus-send rix,
|
||||
/{usr/,}bin/pgrep rix,
|
||||
/{usr/,}bin/pinky rix,
|
||||
/{usr/,}bin/sed rix,
|
||||
@{bin}/{ba,da,}sh rix,
|
||||
@{bin}/{e,}grep rix,
|
||||
@{bin}/dbus-send rix,
|
||||
@{bin}/killall5 rix,
|
||||
@{bin}/pgrep rix,
|
||||
@{bin}/pinky rix,
|
||||
@{bin}/sed rix,
|
||||
@{bin}/shutdown rix,
|
||||
/etc/acpi/powerbtn.sh rix,
|
||||
|
||||
/{usr/,}bin/systemctl rPx -> child-systemctl,
|
||||
/{usr/,}bin/ps rPx,
|
||||
@{bin}/systemctl rPx -> child-systemctl,
|
||||
@{bin}/ps rPx,
|
||||
|
||||
/{usr/,}bin/fgconsole rCx,
|
||||
@{bin}/fgconsole rCx,
|
||||
|
||||
/usr/share/acpi-support/** r,
|
||||
|
||||
|
|
@ -40,7 +40,7 @@ profile acpi-powerbtn flags=(attach_disconnected) {
|
|||
|
||||
capability sys_tty_config,
|
||||
|
||||
/{usr/,}bin/fgconsole r,
|
||||
@{bin}/fgconsole r,
|
||||
|
||||
/dev/tty rw,
|
||||
owner /dev/tty[0-9]* rw,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue