ramips: add asiarf awapn2403 support
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / uci-defaults / 02_network
index 02a4da9d3a4add7e1472ae012441e461185be6a6..0c3daff960e7db7ea73b86ce9671ad4709990a84 100755 (executable)
@@ -64,6 +64,13 @@ ramips_setup_interfaces()
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ;;
 
+       awapn2403)
+               ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+               ucidef_add_switch "switch0" "1" "1"
+               ucidef_add_switch_vlan "switch0" "1" "0 6t"
+               ucidef_add_switch_vlan "switch0" "2" "1 6t"
+               ;;
+
        br-6475nd)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ucidef_add_switch "switch0" "1" "1"