mirror of https://github.com/hak5/openwrt-owl.git
lantiq: add default switch setup to td8970
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42544owl
parent
289dbe3a84
commit
f16f310306
|
@ -154,6 +154,9 @@ P2812HNUFX)
|
||||||
TDW8970)
|
TDW8970)
|
||||||
lan_mac=$(mtd_get_mac_binary boardconfig 61696)
|
lan_mac=$(mtd_get_mac_binary boardconfig 61696)
|
||||||
wan_mac=$(macaddr_add "$lan_mac" 1)
|
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 2 4 5 6t"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
ARV7519RW22)
|
ARV7519RW22)
|
||||||
|
|
Loading…
Reference in New Issue