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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user