projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mvebu: drop preinit script
[openwrt.git]
/
target
/
linux
/
mvebu
/
base-files
/
lib
/
mvebu.sh
diff --git
a/target/linux/mvebu/base-files/lib/mvebu.sh
b/target/linux/mvebu/base-files/lib/mvebu.sh
index
9d06626
..
e8985b4
100755
(executable)
--- 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"