projects
/
openwrt
/
staging
/
chunkeey.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fbe3eead7ad8017f417f9c2c90fd6769bbc39333
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
imx6
/
base-files
/
etc
/
board.d
/
02_network
1
#!/bin/sh
2
#
3
# Copyright (C) 2013-2015 OpenWrt.org
4
#
5
6
.
/
lib
/
function
s
/
uci-defaults.sh
7
.
/
lib
/
imx6.sh
8
9
board
=
$
(
imx6_board_name
)
10
11
board_config_update
12
13
case
"
$board
"
in
14
*
gw51xx |\
15
*
gw52xx |\
16
*
gw5904
)
17
ucidef_set_interface_lan
'eth0'
18
;;
19
*
gw53xx |\
20
*
gw54xx |\
21
*
gw552x
)
22
ucidef_set_interfaces_lan_wan
'eth0'
'eth1'
23
;;
24
*
wandboard
)
25
ucidef_set_interface_wan
'eth0'
26
;;
27
esac
28
29
board_config_flush
30
31
exit
0