a05c3d5956c900432030bafe3e0ac5dfc1262e30
[openwrt/openwrt.git] / target / linux / brcm2708 / base-files / etc / board.d / 02_network
1 #!/bin/sh
2 # Copyright (C) 2014-2015 OpenWrt.org
3
4 . /lib/functions/uci-defaults-new.sh
5 . /lib/brcm2708.sh
6 . /lib/functions.sh
7 . /lib/functions/system.sh
8
9 board_config_update
10
11 board=$(brcm2708_board_name)
12
13 case "$board" in
14 rpi-b |\
15 rpi-b-plus |\
16 rpi-2-b)
17 ucidef_set_interface_lan "eth0"
18 ;;
19 esac
20
21 board_config_flush
22
23 exit 0