umbim: drop IP configuration parsing using 'eval'
authorLech Perczak <lech.perczak@gmail.com>
Sat, 6 Nov 2021 12:43:12 +0000 (13:43 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Apr 2023 19:33:05 +0000 (21:33 +0200)
Finally, when new helper is in use, drop old IP configuration parser.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
package/network/utils/umbim/files/lib/netifd/proto/mbim.sh

index 3ef87bdb51a8239cf4bcefe08dc55fd4eab60d58..617407cd085f79b45aeafcfc7964b5068adee7d8 100755 (executable)
@@ -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