From: Tim Harvey Date: Tue, 10 Mar 2020 15:03:20 +0000 (-0700) Subject: imx6: remove unnecessary wildcard from board name matching X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=86b59d0709116209185f43b7c1144b198b38c1d2;p=openwrt%2Fstaging%2F981213.git imx6: remove unnecessary wildcard from board name matching The wildcard used in the network config matching is not necessary given the board names returned by imx6_board_detect() in lib/imx6.sh. Signed-off-by: Tim Harvey --- diff --git a/target/linux/imx6/base-files/etc/board.d/02_network b/target/linux/imx6/base-files/etc/board.d/02_network index 6ec667346d..48e5f0fdeb 100755 --- a/target/linux/imx6/base-files/etc/board.d/02_network +++ b/target/linux/imx6/base-files/etc/board.d/02_network @@ -11,17 +11,17 @@ board_config_update case "$board" in cubox-i |\ -*gw51xx |\ -*gw52xx |\ -*gw5904) +gw51xx |\ +gw52xx |\ +gw5904) ucidef_set_interface_lan 'eth0' ;; -*gw53xx |\ -*gw54xx |\ -*gw552x) +gw53xx |\ +gw54xx |\ +gw552x) ucidef_set_interfaces_lan_wan 'eth0' 'eth1' ;; -*wandboard) +wandboard) ucidef_set_interface_wan 'eth0' ;; esac