aboutsummaryrefslogtreecommitdiff
path: root/target/linux/armsr/base-files/etc/board.d/02_network
blob: f58de1c27d39869d97e52055632a7a0727ac9a2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later

. /lib/functions/system.sh
. /lib/functions/uci-defaults.sh

board_config_update

case "$(board_name)" in
	traverse,ten64)
		ucidef_set_interface_lan "eth0 eth1 eth2 eth3"
		ucidef_set_interface_wan "eth6"
		;;
esac

board_config_flush

exit 0