mirror of https://github.com/hak5/openwrt.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 <tharvey@gateworks.com>master
parent
382b157275
commit
86b59d0709
|
@ -11,17 +11,17 @@ board_config_update
|
||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
cubox-i |\
|
cubox-i |\
|
||||||
*gw51xx |\
|
gw51xx |\
|
||||||
*gw52xx |\
|
gw52xx |\
|
||||||
*gw5904)
|
gw5904)
|
||||||
ucidef_set_interface_lan 'eth0'
|
ucidef_set_interface_lan 'eth0'
|
||||||
;;
|
;;
|
||||||
*gw53xx |\
|
gw53xx |\
|
||||||
*gw54xx |\
|
gw54xx |\
|
||||||
*gw552x)
|
gw552x)
|
||||||
ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
|
ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
|
||||||
;;
|
;;
|
||||||
*wandboard)
|
wandboard)
|
||||||
ucidef_set_interface_wan 'eth0'
|
ucidef_set_interface_wan 'eth0'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue