mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
procd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38862 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -69,15 +69,18 @@
|
||||
[ "exec", "/etc/rc.button/%BUTTON%" ]
|
||||
],
|
||||
[ "if",
|
||||
[ "or",
|
||||
[ "eq", "SUBSYSTEM",
|
||||
[ "net", "input", "usb", "ieee1394", "block", "atm", "zaptel", "button" ],
|
||||
],
|
||||
[ "and",
|
||||
[ "eq", "SUBSYSTEM", "tty" ],
|
||||
[ "regex", "DEVNAME", "^ttyUSB" ],
|
||||
]
|
||||
[ "eq", "SUBSYSTEM",
|
||||
[ "net", "input", "usb", "ieee1394", "block", "atm", "zaptel", "tty", "button" ]
|
||||
],
|
||||
[ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ]
|
||||
],
|
||||
[ "if",
|
||||
[ "and",
|
||||
[ "eq", "SUBSYSTEM",
|
||||
[ "tty", "usb-serial" ]
|
||||
],
|
||||
[ "regex", "DEVNAME", "^ttyUSB" ],
|
||||
],
|
||||
[ "exec", "/sbin/hotplug-call", "tty" ]
|
||||
],
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user