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