diff options
Diffstat (limited to 'package/system')
-rw-r--r-- | package/system/procd/files/hotplug.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/system/procd/files/hotplug.json b/package/system/procd/files/hotplug.json index b312178..57fc40e 100644 --- a/package/system/procd/files/hotplug.json +++ b/package/system/procd/files/hotplug.json @@ -13,7 +13,7 @@ [ "null", "full", "ptmx", "zero" ], ], [ "regex", "DEVNAME", - [ "^gpio", "^hvc", "^tty" ], + [ "^gpio", "^hvc" ], ], ], [ @@ -76,10 +76,10 @@ ], [ "if", [ "and", - [ "eq", "SUBSYSTEM", - [ "tty", "usb-serial" ] + [ "eq", "SUBSYSTEM", "usb-serial" ], + [ "regex", "DEVNAME", + [ "^ttyUSB", "^ttyACM" ] ], - [ "regex", "DEVNAME", "^ttyUSB" ], ], [ "exec", "/sbin/hotplug-call", "tty" ] ], |