feat(profile): modernize some profiles.

This commit is contained in:
Alexandre Pujol 2024-03-12 15:48:43 +00:00
parent 81b9de3aff
commit 9c859cec9d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
14 changed files with 124 additions and 211 deletions

View file

@ -21,7 +21,7 @@ profile acpi-powerbtn flags=(attach_disconnected) {
@{bin}/shutdown rix,
/etc/acpi/powerbtn.sh rix,
@{bin}/systemctl rPx -> child-systemctl,
@{bin}/systemctl rCx -> systemctl,
@{bin}/ps rPx,
@{bin}/fgconsole rCx,
@ -46,5 +46,12 @@ profile acpi-powerbtn flags=(attach_disconnected) {
owner /dev/tty@{int} rw,
}
profile systemctl {
include <abstractions/base>
include <abstractions/systemctl>
include if exists <local/acpi-powerbtn_systemctl>
}
include if exists <local/acpi-powerbtn>
}