e2fe6cd5e3c7a5425ddabee72d8fc9e297585342
[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