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
@@ -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