projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d659160
)
comgt: make ncm proto work via wwan proto
author
John Crispin
<john@openwrt.org>
Wed, 8 Jul 2015 14:26:04 +0000
(14:26 +0000)
committer
John Crispin
<john@openwrt.org>
Wed, 8 Jul 2015 14:26:04 +0000
(14:26 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46272
package/network/utils/comgt/files/ncm.sh
patch
|
blob
|
history
diff --git
a/package/network/utils/comgt/files/ncm.sh
b/package/network/utils/comgt/files/ncm.sh
index 6546691b1aafeacbfa345dd983c3f4fad3691639..1f0d0db2e7081a6992fc2fb17db41e5bcc0363a2 100644
(file)
--- 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