archs38: add HSDK board to network configure scripts
[openwrt/openwrt.git] / target / linux / archs38 / base-files / etc / board.d / 02_network
1 #!/bin/sh
2 #
3 # Copyright (C) 2016 OpenWrt.org
4 #
5
6 . /lib/functions/uci-defaults.sh
7
8 board_config_update
9
10 case "$(board_name)" in
11 "arc-sdp"*|"arc-hsdk"*)
12 ucidef_set_interface_lan "eth0" "dhcp"
13 ;;
14 esac
15
16 board_config_flush
17
18 exit 0