diff options
Diffstat (limited to 'etc/devd/apple.conf')
-rw-r--r-- | etc/devd/apple.conf | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/devd/apple.conf b/etc/devd/apple.conf index 8518890..9a84542 100644 --- a/etc/devd/apple.conf +++ b/etc/devd/apple.conf @@ -71,4 +71,10 @@ notify 0 { action "camcontrol eject cd0"; }; - +# Equivalent to the ACPI/ACAD notify +notify 10 { + match "system" "PMU"; + match "subsystem" "POWER"; + match "type" "ACLINE"; + action "/etc/rc.d/power_profile $notify"; +}; |