projects
/
openwrt
/
staging
/
svanheule.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
382b157
)
imx6: remove unnecessary wildcard from board name matching
author
Tim Harvey
<tharvey@gateworks.com>
Tue, 10 Mar 2020 15:03:20 +0000
(08:03 -0700)
committer
Petr Štetiar
<ynezz@true.cz>
Thu, 12 Mar 2020 11:59:44 +0000
(12:59 +0100)
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>
target/linux/imx6/base-files/etc/board.d/02_network
patch
|
blob
|
history
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 6ec667346df86ab5f1115232f21e31478a8d2024..48e5f0fdeb2eee6c92ba6ffc56dfab51f48b91b0 100755
(executable)
--- 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