Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK
[openwrt/svn-archive/archive.git] / target / linux / lantiq / base-files / etc / uci-defaults / 02_network
index 1df83a6a9d8d425dae959518c4a99bc6885763e4..f9cac7c4403230d085180542665d729c5ec60051 100644 (file)
@@ -145,7 +145,9 @@ P2601HNFX)
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
        ;;
 
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
        ;;
 
-P2812HNUFX)
+P2812HNUF*)
+       lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
+       wan_mac=$(macaddr_add "$lan_mac" 1)
        ucidef_set_interface_lan 'eth0.1'
        ucidef_add_switch "switch0" "1" "1"
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 4 5 6t"
        ucidef_set_interface_lan 'eth0.1'
        ucidef_add_switch "switch0" "1" "1"
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 4 5 6t"