diff options
author | John Crispin <blogic@openwrt.org> | 2015-07-08 14:26:04 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-07-08 14:26:04 +0000 |
commit | 0eda37a285f7594a302a938f5a373414d07e1e90 (patch) | |
tree | 6a1b78f7ba156248d27e3de129432f81be250ae2 /package/network/utils/comgt/files/ncm.sh | |
parent | ed55318df19155dd36c30bb1761b1137b8c46fb4 (diff) | |
download | master-187ad058-0eda37a285f7594a302a938f5a373414d07e1e90.tar.gz master-187ad058-0eda37a285f7594a302a938f5a373414d07e1e90.tar.bz2 master-187ad058-0eda37a285f7594a302a938f5a373414d07e1e90.zip |
comgt: make ncm proto work via wwan proto
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46272 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/comgt/files/ncm.sh')
-rw-r--r-- | package/network/utils/comgt/files/ncm.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/utils/comgt/files/ncm.sh b/package/network/utils/comgt/files/ncm.sh index 6546691b1a..1f0d0db2e7 100644 --- a/package/network/utils/comgt/files/ncm.sh +++ b/package/network/utils/comgt/files/ncm.sh @@ -27,6 +27,8 @@ proto_ncm_setup() { local device apn auth username password pincode delay mode json_get_vars device apn auth username password pincode delay mode + [ -n "$ctl_device" ] && device=$ctl_device + [ -n "$device" ] || { echo "No control device specified" proto_notify_error "$interface" NO_DEVICE |