From: Alexander Stadler <[email protected]>

fix switch-config for dir-825-c1

Signed-off-by: Alexander Stadler <[email protected]>
---
diff -urN a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network 
b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network        
2013-02-13 13:59:12.000000000 +0100
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network        
2013-02-13 14:10:46.000000000 +0100
@@ -62,13 +62,6 @@
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
        ;;
 
-dir-825-c1)
-       ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
-       ucidef_add_switch "switch0" "1" "1"
-       ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
-       ucidef_add_switch_vlan "switch0" "2" "0t 1"
-       ;;
-
 nbg460n_550n_550nh)
        ucidef_set_interfaces_lan_wan "eth0" "eth1"
        ucidef_add_switch "switch0" "1" "1"
@@ -181,6 +174,7 @@
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
        ;;
 
+dir-825-c1|\
 wndr4300)
        ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
        ucidef_add_switch "switch0" "1" "1"
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to