HardenedBSD/sbin/devd/power_profile.conf
Emmanuel Vadot 2878e21ff1 devd: Move power_profile part in devd/power_profile.conf
And make it part of the FreeBSD-acpi package.
This avoid calling service power_profile on an installation without it
installed.

Sponsored by:   Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D38324
2023-02-08 08:52:17 +01:00

7 lines
164 B
Plaintext

# Switch power profiles when the AC line state changes.
notify 10 {
match "system" "ACPI";
match "subsystem" "ACAD";
action "service power_profile $notify";
};