aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/base-files/lib/mvebu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mvebu/base-files/lib/mvebu.sh')
-rwxr-xr-xtarget/linux/mvebu/base-files/lib/mvebu.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/mvebu/base-files/lib/mvebu.sh b/target/linux/mvebu/base-files/lib/mvebu.sh
index 9d06626793..e8985b4664 100755
--- a/target/linux/mvebu/base-files/lib/mvebu.sh
+++ b/target/linux/mvebu/base-files/lib/mvebu.sh
@@ -50,6 +50,7 @@ mvebu_board_detect() {
mvebu_board_name() {
local name
+ [ -f /tmp/sysinfo/board_name ] || mvebu_board_detect
[ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name)
[ -z "$name" ] && name="unknown"