aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/base-files/etc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-18 00:38:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-18 00:38:08 +0000
commit3cc98b09f76eac80229a8e08a044e5fdd9638777 (patch)
treedb7c40150507c39725a1de5cb7145171d6814b7c /target/linux/atheros/base-files/etc
parent54bbc306875d7eb7dc3b86016242580004a9644b (diff)
downloadupstream-3cc98b09f76eac80229a8e08a044e5fdd9638777.tar.gz
upstream-3cc98b09f76eac80229a8e08a044e5fdd9638777.tar.bz2
upstream-3cc98b09f76eac80229a8e08a044e5fdd9638777.zip
adjust switch default configs for the swconfig api change
SVN-Revision: 19209
Diffstat (limited to 'target/linux/atheros/base-files/etc')
-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 49c2a40057..89ea9a102c 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