mirror of https://github.com/hak5/openwrt.git
comgt: make ncm proto work via wwan proto
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46272lede-17.01
parent
d65916047b
commit
657300d418
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue