projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
atheros: in later kernels, vlan 0 no longer works as expected, switch to (1,2) instea...
[openwrt.git]
/
target
/
linux
/
atheros
/
base-files
/
etc
/
uci-defaults
/
network
diff --git
a/target/linux/atheros/base-files/etc/uci-defaults/network
b/target/linux/atheros/base-files/etc/uci-defaults/network
index
e2fe6cd
..
fa97109
100644
(file)
--- a/
target/linux/atheros/base-files/etc/uci-defaults/network
+++ b/
target/linux/atheros/base-files/etc/uci-defaults/network
@@
-1,9
+1,10
@@
#!/bin/sh
#!/bin/sh
-if [ -e "/sys/bus/mdio_bus/drivers/Infineon ADM6996/0:00" ]; then
+if [ -e "/sys/bus/mdio_bus/drivers/Infineon ADM6996/0:00" -o \
+ -e "/sys/bus/mdio_bus/drivers/Marvell 88E6060/0:10" ]; then
uci batch <<EOF
uci batch <<EOF
-set network.lan.ifname=eth0.
0
+set network.lan.ifname=eth0.
1
set network.wan=interface
set network.wan=interface
-set network.wan.ifname=eth0.
1
+set network.wan.ifname=eth0.
2
set network.wan.proto=dhcp
commit network
EOF
set network.wan.proto=dhcp
commit network
EOF
This page took
0.027213 seconds
and
4
git commands to generate.