summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-18 00:38:08 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-18 00:38:08 +0000
commitf7997f15e2ece1e55c599e04c0d3867638fb09da (patch)
tree55ad654a02df7ab5044e5a2037224f282e096431 /target/linux/atheros/base-files/etc/uci-defaults
parent65c8d28d39e590c291f7f40360a9ff2f930925de (diff)
adjust switch default configs for the swconfig api change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19209 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/base-files/etc/uci-defaults')
-rw-r--r--target/linux/atheros/base-files/etc/uci-defaults/network1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/atheros/base-files/etc/uci-defaults/network b/target/linux/atheros/base-files/etc/uci-defaults/network
index 49c2a4005..89ea9a102 100644
--- a/target/linux/atheros/base-files/etc/uci-defaults/network
+++ b/target/linux/atheros/base-files/etc/uci-defaults/network
@@ -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