projects
/
openwrt
/
staging
/
dedeckeh.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ramips: rt305x: fix uci-defaults/network script for the RT3350 based boards
[openwrt/staging/dedeckeh.git]
/
target
/
linux
/
ramips
/
base-files
/
etc
/
uci-defaults
/
network
1
#!/bin/sh
2
RT3X5X
=
`cat /proc/cpuinfo | grep RT3.5`
3
[
-z
"
${RT3X5X}
"
]
||
{
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