feat(profile): modernize some profiles.
This commit is contained in:
parent
81b9de3aff
commit
9c859cec9d
14 changed files with 124 additions and 211 deletions
|
|
@ -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>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue