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
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:10" ]; then
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 fi
This page took 0.039744 seconds and 5 git commands to generate.