treewide: remove execute bit and shebang from board.d files
[openwrt/staging/rmilecki.git] / target / linux / mvebu / cortexa72 / 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 marvell,armada8040-mcbin-doubleshot|\
14 marvell,armada8040-mcbin-singleshot)
15 ucidef_set_interfaces_lan_wan "eth0 eth1 eth3" "eth2"
16 ;;
17 marvell,armada8040-db)
18 ucidef_set_interfaces_lan_wan "eth0 eth2 eth3" "eth1"
19 ;;
20 marvell,armada7040-db)
21 ucidef_set_interfaces_lan_wan "eth0 eth2" "eth1"
22 ;;
23 *)
24 ucidef_set_interface_lan "eth0"
25 ;;
26 esac
27
28 board_config_flush
29
30 exit 0