diff options
author | Tim Harvey <tharvey@gateworks.com> | 2020-03-10 08:03:20 -0700 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-03-12 12:59:44 +0100 |
commit | 86b59d0709116209185f43b7c1144b198b38c1d2 (patch) | |
tree | a69f661ee1bc7f134be456d7530c833f03efba3e /target/linux/imx6/base-files | |
parent | 382b1572757b3b4b8cb7ad98f256244eae916bb3 (diff) | |
download | openwrt-86b59d0709116209185f43b7c1144b198b38c1d2.tar.gz openwrt-86b59d0709116209185f43b7c1144b198b38c1d2.tar.bz2 openwrt-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')
-rwxr-xr-x | target/linux/imx6/base-files/etc/board.d/02_network | 14 |
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 |