From a3a2e7ee8b530fca42a27a636ff02304d32931b7 Mon Sep 17 00:00:00 2001 From: jow Date: Tue, 15 Mar 2011 09:09:05 +0000 Subject: [PATCH] [package] comgt: handle ttyHS* devices in usb hotplug, fix typo (#9046) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26175 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/comgt/Makefile | 2 +- package/comgt/files/3g.usb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/comgt/Makefile b/package/comgt/Makefile index c3cf8ed1b..7c120cb50 100644 --- a/package/comgt/Makefile +++ b/package/comgt/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=comgt PKG_VERSION:=0.32 -PKG_RELEASE:=7 +PKG_RELEASE:=8 PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz PKG_SOURCE_URL:=@SF/comgt diff --git a/package/comgt/files/3g.usb b/package/comgt/files/3g.usb index ecaa96f85..d5a38b8a4 100644 --- a/package/comgt/files/3g.usb +++ b/package/comgt/files/3g.usb @@ -36,7 +36,7 @@ if [ "$ACTION" = add ]; then esac local tty - for tty in /sys/$DEVPATH/ttyUSB* /sys/$DEVPATH/tty/ttyACM*;; do + 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 -- 2.20.1