1#!/bin/sh
2# Copyright (C) 2014-2016 OpenWrt.org
3
4. /lib/functions/uci-defaults.sh
5. /lib/brcm2708.sh
6. /lib/functions.sh
7. /lib/functions/system.sh
8
9board_config_update
10
11board=$(brcm2708_board_name)
12
13case "$board" in
14rpi-b |\
15rpi-b-plus |\
16rpi-2-b |\
17rpi-3-b)
18	ucidef_set_interface_lan "eth0"
19	;;
20esac
21
22board_config_flush
23
24exit 0
25