1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2022 OpenWrt.org
6 . /lib/functions/uci-defaults.sh
10 case "$(board_name)" in
11 starfive,visionfive-2-v1.3b|\
12 starfive,visionfive-2-v1.2a)
13 ucidef_set_interfaces_lan_wan "eth0" "eth1"
16 ucidef_set_interface_lan 'eth0'