refactor(profiles): use @{bin} and @{lib} in profiles (4)

This commit is contained in:
Alexandre Pujol 2023-07-09 14:23:22 +01:00
parent 27daa7c9bb
commit 43b0f09b65
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
173 changed files with 909 additions and 916 deletions

View file

@ -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,