aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-11-18 09:35:14 +0000
committerJohn Crispin <blogic@openwrt.org>2013-11-18 09:35:14 +0000
commitbea0072a6948e816731f6f1f6bd5143b4ada729a (patch)
treee7a32459fe5afb4bd327e65933350a700284246c /target/linux/ramips/base-files/etc
parentb0b1844e23788eeb43791f72c09bb9960913af20 (diff)
downloadmaster-187ad058-bea0072a6948e816731f6f1f6bd5143b4ada729a.tar.gz
master-187ad058-bea0072a6948e816731f6f1f6bd5143b4ada729a.tar.bz2
master-187ad058-bea0072a6948e816731f6f1f6bd5143b4ada729a.zip
ralink: make all none 3x5x boards default to a vlan1/2 setup
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38845 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network7
1 files changed, 1 insertions, 6 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index 133eba2baa..8a438fba0a 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -145,17 +145,12 @@ ramips_setup_interfaces()
ucidef_set_interface_lan "eth0"
;;
- whr-300hp2 |\
- whr-600d)
- ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
- ;;
-
*)
RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
if [ -n "${RT3X5X}" ]; then
ramips_setup_rt3x5x_vlans
else
- ucidef_set_interfaces_lan_wan "eth0" "eth1"
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
fi
;;
esac