ipq806x: add db149 support to OpenWrt init scripts
[openwrt.git] / target / linux / ipq806x / base-files / etc / uci-defaults / network
index 34e9fe4..354cea9 100755 (executable)
@@ -22,6 +22,12 @@ ap148)
        ucidef_add_switch_vlan "switch0" "1" "6 1 2 3 4"
        ucidef_add_switch_vlan "switch0" "2" "0 5"
        ;;
+db149)
+       ucidef_set_interfaces_lan_wan "eth1 eth2 eth3" "eth0"
+       ucidef_add_switch "switch0" "1" "1"
+       ucidef_add_switch_vlan "switch0" "1" "6 1 2 3 4"
+       ucidef_add_switch_vlan "switch0" "2" "0 5"
+       ;;
 *)
        echo "Unsupported hardware. Network interfaces not intialized"
        ;;