treewide: remove execute bit and shebang from board.d files
[openwrt/staging/rmilecki.git] / target / linux / mvebu / cortexa53 / base-files / etc / board.d / 02_network
1 #
2 # Copyright (C) 2014-2016 OpenWrt.org
3 # Copyright (C) 2016 LEDE-Project.org
4 #
5
6 . /lib/functions/uci-defaults.sh
7
8 board_config_update
9
10 board=$(board_name)
11
12 case "$board" in
13 glinet,gl-mv1000|\
14 globalscale,espressobin|\
15 globalscale,espressobin-emmc|\
16 globalscale,espressobin-v7|\
17 globalscale,espressobin-v7-emmc)
18 ucidef_set_interfaces_lan_wan "lan0 lan1" "wan"
19 ;;
20 globalscale,espressobin-ultra)
21 ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" "wan"
22 ;;
23 marvell,armada-3720-db|\
24 methode,udpu)
25 ucidef_set_interfaces_lan_wan "eth1" "eth0"
26 ;;
27 *)
28 ucidef_set_interface_lan "eth0"
29 ;;
30 esac
31
32 board_config_flush
33
34 exit 0