From: Cezary Jackiewicz Date: Wed, 21 Dec 2016 17:02:53 +0000 (+0100) Subject: comgt-ncm: fix typo Fix typo in ncm.sh. Resolves: X-Git-Tag: v17.01.0-rc1~426 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=83eca5d8b7a316cad264e46b53aca591d6f8ea40;p=openwrt%2Fstaging%2Fxback.git comgt-ncm: fix typo Fix typo in ncm.sh. Resolves: Wed Dec 21 09:55:54 2016 daemon.notice netifd: wan (4455): ./ncm.sh: eval: line 1: =IP: not found Signed-off-by: Cezary Jackiewicz --- diff --git a/package/network/utils/comgt/files/ncm.sh b/package/network/utils/comgt/files/ncm.sh index cf3cef6154..73d1e05e3f 100644 --- a/package/network/utils/comgt/files/ncm.sh +++ b/package/network/utils/comgt/files/ncm.sh @@ -35,7 +35,7 @@ proto_ncm_setup() { [ -n "$profile" ] || profile=1 pdptype=`echo "$pdptype" | awk '{print toupper($0)}'` - [ "$pdptype" = "IP" -o "$pdptype" = "IPV6" -o "$pdptype" = "IPV4V6" ] || $pdptype="IP" + [ "$pdptype" = "IP" -o "$pdptype" = "IPV6" -o "$pdptype" = "IPV4V6" ] || pdptype="IP" [ -n "$ctl_device" ] && device=$ctl_device