Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38862
[ "exec", "/etc/rc.button/%BUTTON%" ]
],
[ "if",
[ "exec", "/etc/rc.button/%BUTTON%" ]
],
[ "if",
+ [ "eq", "SUBSYSTEM",
+ [ "net", "input", "usb", "ieee1394", "block", "atm", "zaptel", "tty", "button" ]
+ ],
+ [ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ]
+ ],
+ [ "if",
+ [ "and",
- [ "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" ]