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 <cezary@eko.one.pl>
This commit is contained in:
Cezary Jackiewicz 2016-12-21 18:02:53 +01:00 committed by John Crispin
parent 3561d89ad6
commit 83eca5d8b7
1 changed files with 1 additions and 1 deletions

View File

@ -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