projects
/
openwrt
/
staging
/
yousong.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
all: drop old uci-defaults.sh
[openwrt/staging/yousong.git]
/
target
/
linux
/
orion
/
base-files
/
etc
/
board.d
/
02_network
1
#!/bin/sh
2
3
.
/
lib
/
function
s
/
uci-defaults.sh
4
5
board_config_update
6
7
if
grep
-q
lan1
/
proc
/
net
/
dev
;
then
8
ucidef_set_interfaces_lan_wan
"lan1 lan2 lan3 lan4"
"wan"
9
else
10
ucidef_set_interface_lan
"eth0"
11
fi
12
13
board_config_flush
14
15
exit
0