[OpenWrt-Devel] [PATCH v2] ncm: add support to run via proto wwan
Aleksandr Kolesnik
neryba at gmail.com
Wed Apr 22 09:26:22 EDT 2015
Signed-off-by: Aleksandr Kolesnik <neryba at gmail.com>
--- package/network/utils/comgt/files/ncm.sh
+++ 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/20150422/60829078/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