projects
/
openwrt
/
staging
/
jogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: drop target board_name functions
[openwrt/staging/jogo.git]
/
target
/
linux
/
brcm63xx
/
base-files
/
lib
/
brcm63xx.sh
diff --git
a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
index 0dc87d0fd01a508e198072241ac513267e0043ed..fc3d6990f32ef4eaeedd43cc378b13edf498cfe1 100755
(executable)
--- a/
target/linux/brcm63xx/base-files/lib/brcm63xx.sh
+++ b/
target/linux/brcm63xx/base-files/lib/brcm63xx.sh
@@
-299,12
+299,3
@@
brcm63xx_detect() {
echo "$board_name" > /tmp/sysinfo/board_name
echo "$model" > /tmp/sysinfo/model
}
-
-brcm63xx_board_name() {
- local name
-
- [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name)
- [ -n "$name" ] || name="unknown"
-
- echo $name
-}