1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 23:32:49 +02:00

[package] comgt: fix 3g redialling if dongle is physically reattached (#11567, #12008)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33350 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2012-09-09 19:46:38 +00:00
parent 4b7be33ba5
commit 7bf3161500
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=comgt
PKG_VERSION:=0.32
PKG_RELEASE:=19
PKG_RELEASE:=20
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz
PKG_SOURCE_URL:=@SF/comgt

View File

@ -10,8 +10,8 @@ find_3g_iface() {
config_get proto "$cfg" proto
[ "$proto" = 3g ] || return 0
local dev
config_get dev "$cfg" device
# bypass state vars here because 00-netstate could clobber .device
local dev=$(uci_get network "$cfg" device)
if [ "${dev##*/}" = "${tty##*/}" ]; then
if [ "$ACTION" = add ]; then