mxs: convert from uci-defaults to board.d
[openwrt.git] / target / linux / mxs / base-files / etc / board.d / 02_network
1 #!/bin/sh
2 # Copyright (C) 2013-2015 OpenWrt.org
3
4 . /lib/functions/uci-defaults-new.sh
5 . /lib/mxs.sh
6
7 board_config_update
8
9 board=$(mxs_board_name)
10
11 case "$board" in
12 *)
13         ucidef_set_interface_lan 'eth0'
14         ;;
15 esac
16
17 board_config_flush
18
19 exit 0