projects
/
openwrt
/
staging
/
chunkeey.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
treewide: use the generic board_name function
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
apm821xx
/
base-files
/
etc
/
board.d
/
02_network
1
#!/bin/sh
2
3
.
/
lib
/
function
s
/
system.sh
4
.
/
lib
/
function
s
/
uci-defaults.sh
5
6
board_config_update
7
8
board
=
$
(
board_name
)
9
10
case
"
$board
"
in
11
mbl|\
12
mr24
)
13
ucidef_set_interface_lan
"eth0"
14
;;
15
16
mx60|\
17
wndr4700
)
18
ucidef_add_switch
"switch0"
\
19
"0@eth0"
"4:lan"
"3:lan"
"2:lan"
"1:lan"
"5:wan"
20
;;
21
22
*)
23
ucidef_set_interfaces_lan_wan
"eth0"
"eth1"
24
;;
25
esac
26
27
board_config_flush
28
29
exit
0