bmips: add experimental ethernet support
[openwrt/openwrt.git] / target / linux / bmips / nand / base-files / etc / board.d / 02_network
diff --git a/target/linux/bmips/nand/base-files/etc/board.d/02_network b/target/linux/bmips/nand/base-files/etc/board.d/02_network
new file mode 100644 (file)
index 0000000..db62e61
--- /dev/null
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+. /lib/functions/uci-defaults.sh
+
+board_config_update
+
+case "$(board_name)" in
+comtrend,vr-3032u)
+       ucidef_set_interface_lan "lan1 lan2 lan3 lan4"
+       ;;
+esac
+
+board_config_flush
+
+exit 0