From: Jo-Philipp Wich Date: Sat, 22 Sep 2012 14:55:17 +0000 (+0000) Subject: comgt: perform case insensitive match when probing for Huawei devices (#12039) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=09fe127a14e396359a1e3daa42472cce6600d5e8;p=openwrt%2Fstaging%2Fzorun.git comgt: perform case insensitive match when probing for Huawei devices (#12039) SVN-Revision: 33507 --- diff --git a/package/comgt/Makefile b/package/comgt/Makefile index ae8aa668ba..6cb802c600 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:=20 +PKG_RELEASE:=21 PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz PKG_SOURCE_URL:=@SF/comgt diff --git a/package/comgt/files/3g.sh b/package/comgt/files/3g.sh index 9e44d06650..2ed74b4c08 100644 --- a/package/comgt/files/3g.sh +++ b/package/comgt/files/3g.sh @@ -52,7 +52,7 @@ proto_3g_setup() { export MODE="AT_OPSYS=${CODE}" elif echo "$cardinfo" | grep -q "Sierra Wireless"; then SIERRA=1 - elif echo "$cardinfo" | grep -q huawei; then + elif echo "$cardinfo" | grep -qi huawei; then case "$service" in umts_only) CODE="14,2";; gprs_only) CODE="13,1";;