projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make use of the adm6996 switch for atheros devices that support it (autodetected...
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
atheros
/
base-files
/
etc
/
uci-defaults
/
network
1
#!/bin/sh
2
if
[
-e
"/sys/bus/mdio_bus/drivers/Infineon ADM6996/0:00"
];
then
3
uci
batch
<<EOF
4
set network.lan.ifname=eth0.0
5
set network.wan=interface
6
set network.wan.ifname=eth0.1
7
set network.wan.proto=dhcp
8
commit network
9
EOF
10
fi