From: Jo-Philipp Wich Date: Tue, 15 Mar 2011 09:09:05 +0000 (+0000) Subject: comgt: handle ttyHS* devices in usb hotplug, fix typo (#9046) X-Git-Tag: reboot~17223 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d0ac4ba89a765a6c198006ade98a8d46de5ad7ad;p=openwrt%2Fstaging%2Fxback.git comgt: handle ttyHS* devices in usb hotplug, fix typo (#9046) SVN-Revision: 26175 --- diff --git a/package/comgt/Makefile b/package/comgt/Makefile index c3cf8ed1b5..7c120cb50d 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 ecaa96f85b..d5a38b8a4c 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