devd.conf (123626) | devd.conf (125366) |
---|---|
1# $FreeBSD: head/etc/devd.conf 123626 2003-12-18 04:39:57Z njl $ | 1# $FreeBSD: head/etc/devd.conf 125366 2004-02-03 04:18:56Z njl $ |
2# 3# Refer to devd.conf(5) and devd(8) man pages for the details on how to 4# run and configure devd. 5# 6 7# NB: All regular expressions have an implicit ^$ around them. 8# NB: device-name is shorthand for 'match device-name' 9 --- 59 unchanged lines hidden (view full) --- 69nomatch 0 { 70# action "logger Unknown device: $pnpinfo $location $bus"; 71}; 72 73# Switch power profiles when the AC line state changes 74notify 10 { 75 match "system" "ACPI"; 76 match "subsystem" "ACAD"; | 2# 3# Refer to devd.conf(5) and devd(8) man pages for the details on how to 4# run and configure devd. 5# 6 7# NB: All regular expressions have an implicit ^$ around them. 8# NB: device-name is shorthand for 'match device-name' 9 --- 59 unchanged lines hidden (view full) --- 69nomatch 0 { 70# action "logger Unknown device: $pnpinfo $location $bus"; 71}; 72 73# Switch power profiles when the AC line state changes 74notify 10 { 75 match "system" "ACPI"; 76 match "subsystem" "ACAD"; |
77 action "/etc/rc.d/power_profile $notify"; | 77 action "/etc/rc.d/power_profile $notify"; |
78}; 79 | 78}; 79 |
80# Notify all users before beginning emergency shutdown when we get 81# a _CRT or _HOT thermal event and we're going to power down the system 82# very soon. 83notify 10 { 84 match "system" "ACPI"; 85 match "subsystem" "Thermal"; 86 match "notify" "0xcc"; 87 action "logger -p kern.emerg 'WARNING: system temperature too high, shutting down soon!'"; 88}; 89 |
|
80/* EXAMPLES TO END OF FILE 81 82# The following might be an example of something that a vendor might 83# install if you were to add their device. This might reside in 84# /usr/local/etc/devd/deqna.conf. A deqna is, in this hypothetical 85# example, a pccard ethernet-like device. Students of history may 86# know other devices by this name, and will get the in-jokes in this 87# entry. --- 42 unchanged lines hidden --- | 90/* EXAMPLES TO END OF FILE 91 92# The following might be an example of something that a vendor might 93# install if you were to add their device. This might reside in 94# /usr/local/etc/devd/deqna.conf. A deqna is, in this hypothetical 95# example, a pccard ethernet-like device. Students of history may 96# know other devices by this name, and will get the in-jokes in this 97# entry. --- 42 unchanged lines hidden --- |