adjust switch default configs for the swconfig api change
[openwrt/svn-archive/archive.git] / target / linux / atheros / base-files / etc / uci-defaults / network
index 49c2a400571ef8555555315e19328a335cdf3676..89ea9a102cf159be628b5c802aea123b484a1a7b 100644 (file)
@@ -2,6 +2,7 @@
 if [ -e "/sys/bus/mdio_bus/drivers/IC+ IP175C/0:00" -a -x /sbin/swconfig ]; then
        uci batch <<EOF
 set network.eth0=switch
+set network.eth0.name=eth0
 set network.eth0.reset=1
 set network.eth0.enable_vlan=1
 set network.eth0_1=switch_vlan