From: Lech Perczak Date: Sat, 6 Nov 2021 12:43:12 +0000 (+0100) Subject: umbim: drop IP configuration parsing using 'eval' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9808b09b91e805a4ae2e11521faf3cd8e5cf8270;p=openwrt%2Fstaging%2Fjow.git umbim: drop IP configuration parsing using 'eval' Finally, when new helper is in use, drop old IP configuration parser. Signed-off-by: Lech Perczak --- diff --git a/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh b/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh index 3ef87bdb51..617407cd08 100755 --- a/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh +++ b/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh @@ -193,7 +193,6 @@ _proto_mbim_setup() { echo "mbim[$$]" "Setting up $ifname" local mbimconfig="$(umbim $DBG -n -t $tid -d $device config)" echo "$mbimconfig" - eval $(echo "$mbimconfig" | sed 's/: /=/g') tid=$((tid + 1)) proto_init_update "$ifname" 1