summaryrefslogtreecommitdiff
path: root/target/linux/mxs/base-files/etc/board.d/02_network
blob: 102839dba3a116a2cd69e55dfa75c9eec5c2e289 (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-new.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