projects
/
librecmc
/
librecmc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make use of the marvell switch in the atheros port
[librecmc/librecmc.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" -o \
3
-e "/sys/bus/mdio_bus/drivers/Marvell 88E6060/0:1f" ]; then
4
uci batch <<EOF
5
set network.lan.ifname=eth0.0
6
set network.wan=interface
7
set network.wan.ifname=eth0.1
8
set network.wan.proto=dhcp
9
commit network
10
EOF
11
fi