[package] comgt: add ACM hotplug
[openwrt.git] / package / comgt / files / 3g.usb
index c52646b..ecaa96f 100644 (file)
@@ -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*;; do
+               [ -d "$tty" ] || continue
                config_foreach find_3g_iface interface "$tty"
        done
 fi
This page took 0.023183 seconds and 4 git commands to generate.