umbim: drop IP configuration parsing using 'eval'

Finally, when new helper is in use, drop old IP configuration parser.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
This commit is contained in:
Lech Perczak 2021-11-06 13:43:12 +01:00 committed by Hauke Mehrtens
parent c13a1b412b
commit 9808b09b91

View File

@ -193,7 +193,6 @@ _proto_mbim_setup() {
echo "mbim[$$]" "Setting up $ifname" echo "mbim[$$]" "Setting up $ifname"
local mbimconfig="$(umbim $DBG -n -t $tid -d $device config)" local mbimconfig="$(umbim $DBG -n -t $tid -d $device config)"
echo "$mbimconfig" echo "$mbimconfig"
eval $(echo "$mbimconfig" | sed 's/: /=/g')
tid=$((tid + 1)) tid=$((tid + 1))
proto_init_update "$ifname" 1 proto_init_update "$ifname" 1