c50b4a346ad252f9daa16ce06f20ae419af33fc4
[openwrt/openwrt.git] / target / linux / layerscape / base-files / etc / board.d / 02_network
1 #!/bin/sh
2
3 . /lib/functions/system.sh
4 . /lib/functions/uci-defaults.sh
5
6 board_config_update
7
8 case "$(board_name)" in
9 traverse,ls1043v)
10 ucidef_set_interface_lan "eth0 eth1 eth2 eth3"
11 ucidef_set_interface_wan "eth4"
12 ;;
13 traverse,ls1043s)
14 ucidef_set_interface_lan "eth0 eth1 eth2 eth3 eth6"
15 ucidef_set_interface_wan "eth4"
16 ;;
17 esac
18
19 board_config_flush
20
21 exit 0