Skip to content
Snippets Groups Projects
Commit e3a977a3 authored by nbd's avatar nbd
Browse files

procd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38862 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent fcb3566b
No related branches found
No related tags found
No related merge requests found
......@@ -69,15 +69,18 @@
[ "exec", "/etc/rc.button/%BUTTON%" ]
],
[ "if",
[ "or",
[ "eq", "SUBSYSTEM",
[ "net", "input", "usb", "ieee1394", "block", "atm", "zaptel", "tty", "button" ]
],
[ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ]
],
[ "if",
[ "and",
[ "eq", "SUBSYSTEM",
[ "net", "input", "usb", "ieee1394", "block", "atm", "zaptel", "button" ],
[ "tty", "usb-serial" ]
],
[ "and",
[ "eq", "SUBSYSTEM", "tty" ],
[ "regex", "DEVNAME", "^ttyUSB" ],
]
[ "regex", "DEVNAME", "^ttyUSB" ],
],
[ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ]
[ "exec", "/sbin/hotplug-call", "tty" ]
],
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment