X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fsystem%2Fprocd%2Ffiles%2Fhotplug.json;h=b3121789e0ace21917ba3989ad7f34c59fac8f1e;hb=a91d911f7d6c10dc1baeef1e6d9f422abebb3269;hp=c1b45c6e864ec2e9a3797b11d4b2b91fdcbef2c7;hpb=f1b4824c865b228039d84b2605b2e7e4f34cddeb;p=openwrt-github%2F.git diff --git a/package/system/procd/files/hotplug.json b/package/system/procd/files/hotplug.json index c1b45c6e86..b3121789e0 100644 --- a/package/system/procd/files/hotplug.json +++ b/package/system/procd/files/hotplug.json @@ -70,8 +70,17 @@ ], [ "if", [ "eq", "SUBSYSTEM", - [ "net", "input", "usb", "ieee1394", "block", "atm", "zaptel", "tty" ] + [ "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" ] + ], ]