ralink: make all none 3x5x boards default to a vlan1/2 setup
authorJohn Crispin <john@openwrt.org>
Mon, 18 Nov 2013 09:35:14 +0000 (09:35 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 18 Nov 2013 09:35:14 +0000 (09:35 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38845

target/linux/ramips/base-files/etc/uci-defaults/02_network

index 133eba2baad38fb723ab2096f15c3f5cec5f3ea9..8a438fba0acdd38c9080548e386593df16b4fc3d 100755 (executable)
@@ -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