summaryrefslogtreecommitdiff
path: root/target/linux/malta/base-files/etc/board.d/02_network
blob: 8f0110893805cbf74b9842e733004322dbab0698 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

. /lib/functions/uci-defaults.sh

board_config_update

ucidef_set_interface_wan "eth0"
if [ -d "/sys/class/net/eth1" ]; then
	ucidef_set_interface_lan "eth1"
fi

board_config_flush

exit 0