[OpenWrt-Devel] [PATCH v3] ncm: add support to run via proto wwan
Aleksandr Kolesnik
neryba at gmail.com
Wed Jul 8 07:43:06 EDT 2015
Signed-off-by: Aleksandr Kolesnik <neryba at gmail.com
<mailto:neryba at gmail.com> >
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150708/9b7c5561/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list