treewide: remove execute bit and shebang from board.d files
[openwrt/staging/rmilecki.git] / target / linux / sunxi / base-files / etc / board.d / 02_network
1 #
2 # Copyright (C) 2013-2015 OpenWrt.org
3 #
4
5 . /lib/functions/uci-defaults.sh
6
7 board_config_update
8
9 case $(board_name) in
10 friendlyarm,nanopi-r1)
11 ucidef_set_interfaces_lan_wan "eth1" "eth0"
12 ;;
13 lamobo,lamobo-r1)
14 ucidef_add_switch "switch0" \
15 "4:lan:1" "0:lan:2" "1:lan:3" "2:lan:4" "3:wan" "8@eth0"
16 ;;
17 olimex,a20-olinuxino-micro)
18 ucidef_set_interface_lan "wlan0"
19 ;;
20 xunlong,orangepi-r1)
21 ucidef_set_interfaces_lan_wan "eth0" "eth1"
22 ;;
23 *)
24 ucidef_set_interface_lan "eth0"
25 ;;
26 esac
27
28 board_config_flush
29
30 exit 0