diff options
| author | Justin Hibbits <jhibbits@FreeBSD.org> | 2011-12-05 00:12:10 +0000 |
|---|---|---|
| committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2011-12-05 00:12:10 +0000 |
| commit | 6431ede397dfca4866563a6c8ce0d8add56576e3 (patch) | |
| tree | 70724e611b0160989332cf75f7f006563c76cf2a /etc/devd | |
| parent | 54ad8a62ed7a03556733bd6f9a62b821c70c1fe0 (diff) | |
Notes
Diffstat (limited to 'etc/devd')
| -rw-r--r-- | etc/devd/apple.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/devd/apple.conf b/etc/devd/apple.conf index a57a8e06a640..275d7378f884 100644 --- a/etc/devd/apple.conf +++ b/etc/devd/apple.conf @@ -11,6 +11,16 @@ notify 0 { }; +# Keyboard power key +notify 0 { + match "system" "PMU"; + match "subsystem" "lid"; + match "type" "close"; + match "notify" "0x0"; + action "shutdown -p now"; +}; + + # The next blocks enable volume hotkeys that can be found on Apple laptops notify 0 { match "system" "PMU"; |
