dcf33788c51696fcc2af0bcfb20a6b8636cf29e6
[openwrt/staging/rmilecki.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 snps,axs103|\
12 snps,hsdk)
13 ucidef_set_interface_lan "eth0" "dhcp"
14 ;;
15 esac
16
17 board_config_flush
18
19 exit 0