From acbbcb35b865e159d4052208b6045d0c7806da93 Mon Sep 17 00:00:00 2001 From: jogo Date: Sun, 27 May 2012 13:22:11 +0000 Subject: bcm63xx: move the board name workaround to /lib/brcm63xx.sh git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31872 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to '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 488aed874..e4ac5e331 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -13,6 +13,10 @@ brcm63xx_has_reset_button="" brcm63xx_detect() { board_name=$(awk 'BEGIN{FS="[ \t:/]+"} /system type/ {print $4}' /proc/cpuinfo) + if [ "$board_name" = "96358VW" ] && [ -e /proc/switch/eth1/enable ]; then + board_name="DVAG3810BN" + fi + case "$board_name" in 96348GW) status_led="power" -- cgit v1.2.3