Changeset View
Changeset View
Standalone View
Standalone View
etc/devd.conf
Show First 20 Lines • Show All 256 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"; | ||||
}; | }; | ||||
# Let the init(8) know there's a new USB serial interface it might | |||||
# want to run getty(8) for. This includes device-side tty created | |||||
# by usb_template(4). | |||||
notify 100 { | |||||
match "system" "DEVFS"; | |||||
match "subsystem" "CDEV"; | |||||
match "type" "CREATE"; | |||||
match "cdev" "ttyU[0-9]+"; | |||||
action "/sbin/init q"; | |||||
}; | |||||
/* 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 59 Lines • ▼ Show 20 Lines | |||||
# automated debugging session after the core dump is generated. | # automated debugging session after the core dump is generated. | ||||
# Replace action with a proper coredump handler, but be aware that | # Replace action with a proper coredump handler, but be aware that | ||||
# it will run with elevated privileges. | # it will run with elevated privileges. | ||||
notify 10 { | notify 10 { | ||||
match "system" "kernel"; | match "system" "kernel"; | ||||
match "subsystem" "signal"; | match "subsystem" "signal"; | ||||
match "type" "coredump"; | match "type" "coredump"; | ||||
action "logger $comm $core"; | action "logger $comm $core"; | ||||
}; | |||||
# Let the init(8) know there's a new USB serial interface it might | |||||
# want to run getty(8) for. This includes device-side tty created | |||||
# by usb_template(4). | |||||
notify 100 { | |||||
match "system" "DEVFS"; | |||||
match "subsystem" "CDEV"; | |||||
match "type" "CREATE"; | |||||
match "cdev" "ttyU[0-9]+"; | |||||
action "/sbin/init q"; | |||||
}; | }; | ||||
*/ | */ |