diff options
Diffstat (limited to 'etc/devd.conf')
-rw-r--r-- | etc/devd.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/devd.conf b/etc/devd.conf index 4f46415..cc7a208 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -70,6 +70,13 @@ nomatch 0 { # action "logger Unknown device: $pnpinfo $location $bus"; }; +# Switch power profiles when the AC line state changes +notify 10 { + match "system" "ACPI"; + match "subsystem" "ACAD"; + action "/etc/rc.d/power_profile $notify"; +}; + /* EXAMPLES TO END OF FILE # The following might be an example of something that a vendor might |