projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[ramips] adds ethernet driver, esw needs to be moved to swconfig, driver is missing...
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
ramips
/
base-files
/
etc
/
uci-defaults
/
network
1
#!/bin/sh
2
RT305X
=
`cat /proc/cpuinfo | grep RT305`
3
[
-z
"
${RT305X}
"
]
||
{
4
uci
batch
<<EOF
5
set network.lan.ifname=eth0.1
6
set network.wan=interface
7
set network.wan.ifname=eth0.2
8
set network.wan.proto=dhcp
9
commit network
10
EOF
11
}
12
13
uci commit network