projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
malta: make eth0 the wan interface by default
[openwrt/openwrt.git]
/
target
/
linux
/
malta
/
base-files
/
etc
/
uci-defaults
/
02-network
1
#!/bin/sh
2
3
.
/
lib
/
function
s
/
uci-defaults.sh
4
5
ucidef_set_interface_loopback
6
ucidef_set_interface_wan
"eth0"
7
if
[
-d
"/sys/class/net/eth1"
];
then
8
ucidef_set_interface_lan
"eth1"
9
fi