summaryrefslogtreecommitdiffstats
path: root/package/comgt/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-02-20 17:24:25 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-02-20 17:24:25 +0000
commitd40a79ccfd766f71877af394169d2d6ac848942e (patch)
tree7a843d878f302a66eec4b3968bb495aa4a1497bf /package/comgt/files
parent43d7aff94e8909d63e4d4206606f9f7ce03f0942 (diff)
downloadmaster-31e0f0ae-d40a79ccfd766f71877af394169d2d6ac848942e.tar.gz
master-31e0f0ae-d40a79ccfd766f71877af394169d2d6ac848942e.tar.bz2
master-31e0f0ae-d40a79ccfd766f71877af394169d2d6ac848942e.zip
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> SVN-Revision: 25621
Diffstat (limited to 'package/comgt/files')
-rw-r--r--package/comgt/files/3g.usb4
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