ramips: fix GB-PC1 and GB-PC2 device support
[openwrt/openwrt.git] / target / linux / ramips / mt7621 / base-files / etc / board.d / 02_network
index af493789bab7598b95810d7db2a1b4115c7c74fd..1fa6182c4d8786384e6a6ac12f807c41ebf89206 100644 (file)
@@ -71,9 +71,11 @@ ramips_setup_interfaces()
                uci add_list firewall.@zone[1].network='eth_data'
                uci add_list firewall.@zone[1].network='eth_om'
                ;;
-       gnubee,gb-pc1|\
+       gnubee,gb-pc1)
+               ucidef_set_interface_lan "ethblack ethblue"
+               ;;
        gnubee,gb-pc2)
-               ucidef_set_interface_lan "lan1 lan2"
+               ucidef_set_interface_lan "ethblack ethblue ethyellow"
                ;;
        linksys,re6500|\
        netgear,wac104|\