diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-02-20 17:24:25 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-02-20 17:24:25 +0000 |
commit | ef2f8edd20a874423aecbcc2b2ed094af0708db3 (patch) | |
tree | 02e2abdb2a9db452dfaebd3e63cbb882980203e0 /package/comgt/files | |
parent | 2d96209135fb51c77d06c872164a1d7402820a48 (diff) |
[package] comgt: add ACM hotplug
This adds in support for ttyACM devices in the 3g hotplug script.
Signed-off-by: Matthew Eaton <wrt at divinehawk.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25621 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/comgt/files')
-rw-r--r-- | package/comgt/files/3g.usb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/comgt/files/3g.usb b/package/comgt/files/3g.usb index c52646b3dd..ecaa96f85b 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*;; do + [ -d "$tty" ] || continue config_foreach find_3g_iface interface "$tty" done fi |