Changeset View
Changeset View
Standalone View
Standalone View
sbin/devd/devd.conf
Show First 20 Lines • Show All 257 Lines • ▼ Show 20 Lines | notify 10 { | ||||
action "/etc/rc.suspend acpi $notify"; | action "/etc/rc.suspend acpi $notify"; | ||||
}; | }; | ||||
notify 10 { | notify 10 { | ||||
match "system" "ACPI"; | match "system" "ACPI"; | ||||
match "subsystem" "Resume"; | match "subsystem" "Resume"; | ||||
action "/etc/rc.resume acpi $notify"; | action "/etc/rc.resume acpi $notify"; | ||||
}; | }; | ||||
notify 10 { | |||||
match "system" "kernel"; | |||||
match "subsystem" "signal"; | |||||
match "type" "corestop"; | |||||
action "/usr/libexec/corestop $pid $euid 2>&1 | /usr/bin/logger -st corestop\(pid=$pid\); kill -KILL $pid"; | |||||
}; | |||||
/* EXAMPLES TO END OF FILE | /* EXAMPLES TO END OF FILE | ||||
# An example of something that a vendor might install if you were to | # An example of something that a vendor might install if you were to | ||||
# add their device. This might reside in /usr/local/etc/devd/deqna.conf. | # add their device. This might reside in /usr/local/etc/devd/deqna.conf. | ||||
# A deqna is, in this hypothetical example, a pccard ethernet-like device. | # A deqna is, in this hypothetical example, a pccard ethernet-like device. | ||||
# Students of history may know other devices by this name, and will get | # Students of history may know other devices by this name, and will get | ||||
# the in-jokes in this entry. | # the in-jokes in this entry. | ||||
nomatch 10 { | nomatch 10 { | ||||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |