projects
/
openwrt-github
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
imx6: fix platform checking
[openwrt-github/.git]
/
target
/
linux
/
imx6
/
base-files
/
etc
/
uci-defaults
/
02_network
diff --git
a/target/linux/imx6/base-files/etc/uci-defaults/02_network
b/target/linux/imx6/base-files/etc/uci-defaults/02_network
index 0e60e22eb789e425db6eb17ee42430359eaf340a..bf830632e071881701a55244abe72b37033639e1 100644
(file)
--- a/
target/linux/imx6/base-files/etc/uci-defaults/02_network
+++ b/
target/linux/imx6/base-files/etc/uci-defaults/02_network
@@
-15,16
+15,16
@@
board=$(imx6_board_name)
ucidef_set_interface_loopback
case "$board" in
ucidef_set_interface_loopback
case "$board" in
-
"gw51xx"
|\
-
"gw52xx"
)
+
*gw51xx
|\
+
*gw52xx
)
ucidef_set_interface_lan 'eth0'
;;
ucidef_set_interface_lan 'eth0'
;;
-
"gw53xx"
|\
-
"gw54xx"
|\
-
"gw552x"
)
+
*gw53xx
|\
+
*gw54xx
|\
+
*gw552x
)
ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
;;
ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
;;
-
"wandboard"
)
+
*wandboard
)
ucidef_set_interface_wan 'eth0'
;;
esac
ucidef_set_interface_wan 'eth0'
;;
esac