summaryrefslogtreecommitdiff
path: root/target/linux/mxs/base-files/etc/board.d/02_network
blob: b31deb7cb6929b2ea5ee5415989a8a9e4274ed10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# Copyright (C) 2013-2015 OpenWrt.org

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

board_config_update

board=$(mxs_board_name)

case "$board" in
*)
	ucidef_set_interface_lan 'eth0'
	;;
esac

board_config_flush

exit 0