Skip to content
Snippets Groups Projects
Unverified Commit b6fa0c74 authored by Michal Hrusecky's avatar Michal Hrusecky 🐭
Browse files

Hack to support custom board network config

parent 49a9ee5b
No related merge requests found
From ac2bcfda87007dad48af7517ef082e4ba939de51 Mon Sep 17 00:00:00 2001
From: Michal Hrusecky <Michal@Hrusecky.net>
Date: Tue, 24 Jul 2018 08:20:07 +0200
Subject: [PATCH] mvebu: Support for other supplied network setup
---
target/linux/mvebu/base-files/etc/board.d/02_network | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/target/linux/mvebu/base-files/etc/board.d/02_network b/target/linux/mvebu/base-files/etc/board.d/02_network
index 2c10154..4a0fb3c 100755
--- a/target/linux/mvebu/base-files/etc/board.d/02_network
+++ b/target/linux/mvebu/base-files/etc/board.d/02_network
@@ -59,7 +59,11 @@ marvell,armada7040-db)
ucidef_set_interfaces_lan_wan "eth0 eth2" "eth1"
;;
*)
- ucidef_set_interface_lan "eth0"
+ if [ -x /etc/board_network_setup ]; then
+ /etc/board_network_setup
+ else
+ ucidef_set_interface_lan "eth0"
+ fi
;;
esac
--
2.18.0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment