projects
/
openwrt
/
staging
/
mans0n.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
octeontx: update default network config
[openwrt/staging/mans0n.git]
/
target
/
linux
/
octeontx
/
base-files
/
etc
/
board.d
/
02_network
1
#
2
# Copyright (C) 2018 OpenWrt.org
3
#
4
5
. ./lib/functions/uci-defaults.sh
6
7
board=$(board_name)
8
9
board_config_update
10
11
case "$board" in
12
gw,gw610x|\
13
gw,gw6903)
14
ucidef_set_interfaces_lan 'eth0'
15
;;
16
gw,gw620x|\
17
gw,gw630x)
18
ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
19
;;
20
gw,gw640x)
21
ucidef_set_interfaces_lan_wan 'eth0 eth1 eth2 eth3' 'eth4'
22
;;
23
esac
24
25
board_config_flush
26
27
exit 0