Signed-off-by: Daniel Golle <dgo...@allnet.de>

diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network 
b/target/linux/ramips/base-files/etc/uci-defaults/network
index 01363db..c25bb76 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -44,6 +44,15 @@ ramips_setup_interfaces()
        all0256n | \
        all5002)
                ucidef_set_interface_lan "eth0"
+               ucidef_add_switch "rt305x" "1" "1"
+               ucidef_add_switch_vlan "rt305x" "1" "1 6"
+               ucidef_add_switch_port_transparent "rt305x" "1"
+               ucidef_add_switch_port_transparent "rt305x" "6"
+               ucidef_add_switch_port_disable "rt305x" "0"
+               ucidef_add_switch_port_disable "rt305x" "2"
+               ucidef_add_switch_port_disable "rt305x" "3"
+               ucidef_add_switch_port_disable "rt305x" "4"
+               ucidef_add_switch_port_disable "rt305x" "5"
                ;;
 
        dir-615-h1 | \
-- 
1.7.12

Attachment: pgpr3j3jq9y2C.pgp
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to