bcm27xx: diag.sh: fix whitespace
[openwrt/openwrt.git] / target / linux / bcm27xx / base-files / etc / board.d / 02_network
1 # Copyright (C) 2014-2016 OpenWrt.org
2 # Copyright (C) 2017 LEDE project
3
4 . /lib/functions/uci-defaults.sh
5 . /lib/functions.sh
6 . /lib/functions/system.sh
7
8 board_config_update
9
10 board=$(board_name)
11
12 case "$board" in
13 raspberrypi,model-b |\
14 raspberrypi,model-b-plus |\
15 raspberrypi,model-b-rev2 |\
16 raspberrypi,2-model-b |\
17 raspberrypi,2-model-b-rev2 |\
18 raspberrypi,3-model-b |\
19 raspberrypi,3-model-b-plus |\
20 raspberrypi,400 |\
21 raspberrypi,4-compute-module |\
22 raspberrypi,4-model-b)
23 ucidef_set_interface_lan "eth0"
24 ;;
25
26 raspberrypi,model-zero-w)
27 ucidef_set_interface_lan "wlan0"
28 ;;
29 esac
30
31 board_config_flush
32
33 exit 0