aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/base-files/etc
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2020-03-10 08:03:20 -0700
committerPetr Štetiar <ynezz@true.cz>2020-03-12 12:59:44 +0100
commit86b59d0709116209185f43b7c1144b198b38c1d2 (patch)
treea69f661ee1bc7f134be456d7530c833f03efba3e /target/linux/imx6/base-files/etc
parent382b1572757b3b4b8cb7ad98f256244eae916bb3 (diff)
downloadupstream-86b59d0709116209185f43b7c1144b198b38c1d2.tar.gz
upstream-86b59d0709116209185f43b7c1144b198b38c1d2.tar.bz2
upstream-86b59d0709116209185f43b7c1144b198b38c1d2.zip
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 <tharvey@gateworks.com>
Diffstat (limited to 'target/linux/imx6/base-files/etc')
-rwxr-xr-xtarget/linux/imx6/base-files/etc/board.d/02_network14
1 files changed, 7 insertions, 7 deletions
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