projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm63xx: base-files: rename board_name to board_id
[openwrt/openwrt.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 55e6796431fb008848247e43f3a76d7ae0e6b189..e1d52c2e27a090d0eae898565e7d7975a95f489b 100755
(executable)
--- a/
target/linux/brcm63xx/base-files/lib/brcm63xx.sh
+++ b/
target/linux/brcm63xx/base-files/lib/brcm63xx.sh
@@
-4,7
+4,7
@@
#
#
#
#
-board_
name
=""
+board_
id
=""
status_led=""
status_led2=""
sys_mtd_part=""
status_led=""
status_led2=""
sys_mtd_part=""
@@
-12,13
+12,13
@@
brcm63xx_has_reset_button=""
ifname=""
brcm63xx_detect() {
ifname=""
brcm63xx_detect() {
- board_
name
=$(awk 'BEGIN{FS="[ \t:/]+"} /system type/ {print $4}' /proc/cpuinfo)
+ board_
id
=$(awk 'BEGIN{FS="[ \t:/]+"} /system type/ {print $4}' /proc/cpuinfo)
- if [ "$board_
name
" = "96358VW" ] && [ -n "$(swconfig dev eth1 help 2>/dev/null)" ]; then
- board_
name
="DVAG3810BN"
+ if [ "$board_
id
" = "96358VW" ] && [ -n "$(swconfig dev eth1 help 2>/dev/null)" ]; then
+ board_
id
="DVAG3810BN"
fi
fi
- case "$board_
name
" in
+ case "$board_
id
" in
963281TAN)
status_led="963281TAN::power"
ifname=eth0
963281TAN)
status_led="963281TAN::power"
ifname=eth0