mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-30 15:38:06 +01:00
Add example devd.conf(5) entry for notifying init(8) about new USB ttys.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
015ab09843
commit
fc5acf467c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330547
@ -339,4 +339,15 @@ notify 10 {
|
||||
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";
|
||||
};
|
||||
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user