aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/nand/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bmips/nand/base-files')
-rw-r--r--target/linux/bmips/nand/base-files/etc/board.d/02_network15
1 files changed, 15 insertions, 0 deletions
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
index 0000000000..db62e61287
--- /dev/null
+++ b/target/linux/bmips/nand/base-files/etc/board.d/02_network
@@ -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