projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
+++ 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