projects
/
openwrt
/
staging
/
rmilecki.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
imx6: add support for GW5907/GW5910/GW5912/GW5913
[openwrt/staging/rmilecki.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
8
board
=
$
(
board_name
)
9
10
board_config_update
11
12
case
"
$board
"
in
13
cubox-i |\
14
gw51xx |\
15
gw52xx |\
16
gw5904 |\
17
gw5907 |\
18
gw5910 |\
19
gw5912 |\
20
gw5913
)
21
ucidef_set_interface_lan
'eth0'
22
;;
23
gw53xx |\
24
gw54xx |\
25
gw552x
)
26
ucidef_set_interfaces_lan_wan
'eth0'
'eth1'
27
;;
28
wandboard
)
29
ucidef_set_interface_wan
'eth0'
30
;;
31
esac
32
33
board_config_flush
34
35
exit
0