8f0110893805cbf74b9842e733004322dbab0698
[openwrt/openwrt.git] / target / linux / malta / base-files / etc / board.d / 02_network
1 #!/bin/sh
2
3 . /lib/functions/uci-defaults.sh
4
5 board_config_update
6
7 ucidef_set_interface_wan "eth0"
8 if [ -d "/sys/class/net/eth1" ]; then
9 ucidef_set_interface_lan "eth1"
10 fi
11
12 board_config_flush
13
14 exit 0