ar71xx/jb02: replace default network configuration with eth0.6 = mgmt

This commit is contained in:
Alexander Couzens 2015-03-17 12:48:27 +01:00
parent 64caabe995
commit 2739f09d07
1 changed files with 8 additions and 1 deletions

View File

@ -427,7 +427,14 @@ wndr3700)
# 'led' setting below.
uci set network.@switch_port[-1].led='2'
;;
sysmocom-sob-jb02)
uci batch <<EOF
set network.mgmt='interface'
set network.mgmt.ifname='eth0.6'
set network.mgmt.type='bridge'
set network.mgmt.proto='dhcp'
EOF
;;
*)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;