summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-11-18 09:35:14 +0000
committerJohn Crispin <john@openwrt.org>2013-11-18 09:35:14 +0000
commit9d4eb0ac917d38b54d11067cf5af0ca1b026ecb4 (patch)
treef8a4a8ac9821348c26e5eecb5905b8e9c62b2758
parent3d547b740a5e193f4dbf44736f9012604af194cb (diff)
downloadmtk-20170518-9d4eb0ac917d38b54d11067cf5af0ca1b026ecb4.zip
mtk-20170518-9d4eb0ac917d38b54d11067cf5af0ca1b026ecb4.tar.gz
mtk-20170518-9d4eb0ac917d38b54d11067cf5af0ca1b026ecb4.tar.bz2
ralink: make all none 3x5x boards default to a vlan1/2 setup
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38845
-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 133eba2..8a438fb 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