X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fsystem%2Fprocd%2Ffiles%2Fhotplug.json;h=57fc40e54493c25d531b099f1ac38c24561bb896;hb=4529f0511361ef47aa73946d25cabc9f06c4863e;hp=b3121789e0ace21917ba3989ad7f34c59fac8f1e;hpb=e14ff4aa6b60d6c234c319e4af0f666c1dc7958f;p=openwrt-github%2F.git diff --git a/package/system/procd/files/hotplug.json b/package/system/procd/files/hotplug.json index b3121789e0..57fc40e544 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" ] ],