diff options
author | John Crispin <john@openwrt.org> | 2015-01-17 07:07:15 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-01-17 07:07:15 +0000 |
commit | 7f77870c19218b65d4262e329b1736ababb9e384 (patch) | |
tree | 44e057c607c69727ef82e87d4f3b440ca15ba20f /target/linux/lantiq/base-files/etc/uci-defaults/02_network | |
parent | b4d2b69c43b032f8b8ef07fc1d9dcbb80d23556d (diff) | |
download | upstream-7f77870c19218b65d4262e329b1736ababb9e384.tar.gz upstream-7f77870c19218b65d4262e329b1736ababb9e384.tar.bz2 upstream-7f77870c19218b65d4262e329b1736ababb9e384.zip |
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 <sscapi@gmail.com>
SVN-Revision: 43987
Diffstat (limited to 'target/linux/lantiq/base-files/etc/uci-defaults/02_network')
-rw-r--r-- | target/linux/lantiq/base-files/etc/uci-defaults/02_network | 4 |
1 files changed, 3 insertions, 1 deletions
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" |