Index: etc/devd.conf =================================================================== --- etc/devd.conf +++ etc/devd.conf @@ -262,6 +262,17 @@ 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 # An example of something that a vendor might install if you were to @@ -337,17 +348,6 @@ match "subsystem" "signal"; match "type" "coredump"; 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"; }; */