summaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/mt7622/base-files/etc/board.d/02_network
blob: d719a35dec9376fcf5eeff8981c5c8b05c0540c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

. /lib/functions.sh
. /lib/functions/uci-defaults.sh
. /lib/functions/system.sh

mediatek_setup_interfaces()
{
	local board="$1"

	case $board in
	esac
}

mediatek_setup_macs()
{
	local board="$1"

	case $board in
	esac
}

board_config_update
board=$(board_name)
mediatek_setup_interfaces $board
mediatek_setup_macs $board
board_config_flush

exit 0