treewide: use the generic board_name function
[openwrt/staging/chunkeey.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/functions/uci-defaults.sh
7
8 board_config_update
9
10 case "$(board_name)" in
11 "arc-sdp"*)
12 ucidef_set_interface_lan "eth0" "dhcp"
13 ;;
14 esac
15
16 board_config_flush
17
18 exit 0