X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b11b5fb9e5db8ef272826061ac70c20621d8ad3c..271da7f4e93492f377c0fcf25def4591d60b9fbc:/package/comgt/files/3g.usb diff --git a/package/comgt/files/3g.usb b/package/comgt/files/3g.usb index c52646b3d..d5a38b8a4 100644 --- a/package/comgt/files/3g.usb +++ b/package/comgt/files/3g.usb @@ -36,8 +36,8 @@ if [ "$ACTION" = add ]; then esac local tty - for tty in /sys/$DEVPATH/ttyUSB*; do - [ -d "$tty" ] || break + for tty in /sys/$DEVPATH/ttyUSB* /sys/$DEVPATH/tty/ttyACM* /sys/$DEVPATH/tty/ttyHS*; do + [ -d "$tty" ] || continue config_foreach find_3g_iface interface "$tty" done fi