diff options
| author | Justin Hibbits <jhibbits@FreeBSD.org> | 2014-10-12 19:12:48 +0000 |
|---|---|---|
| committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2014-10-12 19:12:48 +0000 |
| commit | d49c6f029c3aeb62bcea97004159377efb72692c (patch) | |
| tree | 0e9e64a5938e4732510eb4c46a49397fbac1a6b0 /etc/devd | |
| parent | 6461dd5c774d5e1242fddd431a3dedbff90499dd (diff) | |
Notes
Diffstat (limited to 'etc/devd')
| -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 8518890a5d6d..7f066cdf5ad7 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"; +} |
