projects
/
openwrt.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.git]
/
target
/
linux
/
malta
/
base-files
/
etc
/
board.d
/
02_network
1
#!/bin/sh
2
3
. /lib/functions/uci-defaults.sh
4
5
board_config_update
6
7
ucidef_set_interface_wan "eth0"
8
if [ -d "/sys/class/net/eth1" ]; then
9
ucidef_set_interface_lan "eth1"
10
fi
11
12
board_config_flush
13
14
exit 0