From 7f77870c19218b65d4262e329b1736ababb9e384 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 17 Jan 2015 07:07:15 +0000 Subject: Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK Signed-off-by: Sylwester Petela SVN-Revision: 43987 --- target/linux/lantiq/base-files/etc/uci-defaults/02_network | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'target/linux/lantiq/base-files/etc/uci-defaults/02_network') diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network index 1df83a6a9d..f9cac7c440 100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network +++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network @@ -145,7 +145,9 @@ P2601HNFX) 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" -- cgit v1.2.3