projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rockchip: add support for Pine64 RockPro64
[oweals/openwrt.git]
/
target
/
linux
/
rockchip
/
armv8
/
base-files
/
etc
/
board.d
/
02_network
diff --git a/target/linux/rockchip/armv8/base-files/etc/board.d/02_network
b/target/linux/rockchip/armv8/base-files/etc/board.d/02_network
new file mode 100755
(executable)
index 0000000..
c5adda1
--- /dev/null
+++ b/
target/linux/rockchip/armv8/base-files/etc/board.d/02_network
@@ -0,0
+1,15
@@
+#!/bin/sh
+
+. /lib/functions/uci-defaults.sh
+
+board_config_update
+
+case "$(board_name)" in
+*)
+ ucidef_set_interface_lan 'eth0'
+ ;;
+esac
+
+board_config_flush
+
+exit 0