[openwrt/openwrt] umbim: drop IP configuration parsing using 'eval'
LEDE Commits
lede-commits at lists.infradead.org
Sat Apr 29 12:39:18 PDT 2023
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9808b09b91e805a4ae2e11521faf3cd8e5cf8270
commit 9808b09b91e805a4ae2e11521faf3cd8e5cf8270
Author: Lech Perczak <lech.perczak at gmail.com>
AuthorDate: Sat Nov 6 13:43:12 2021 +0100
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 at gmail.com>
---
package/network/utils/umbim/files/lib/netifd/proto/mbim.sh | 1 -
1 file changed, 1 deletion(-)
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
More information about the lede-commits
mailing list