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

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

board_config_udpate

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

board_config_flush

exit 0