summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/base-files/etc/init.d/defconfig
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-20 10:06:15 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-20 10:06:15 +0000
commit547875d0c985f6eb3fd27320457585ae3c6a19c0 (patch)
treea912698f0ff4af166f7c91165543b74b5361fb7d /target/linux/brcm63xx/base-files/etc/init.d/defconfig
parent8f5d6564e0406add6d1acba0923d55862765e6a5 (diff)
[brcm63xx] add support for D-Link DVA-G3810BN/TL
This patch adds support for D-Link's DVA-G3810BN/TL product. Signed-off-by: Roman Dumycz <roman@secureas.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26956 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc/init.d/defconfig')
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/init.d/defconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/init.d/defconfig b/target/linux/brcm63xx/base-files/etc/init.d/defconfig
index dac9c23440..8fd783d4d6 100755
--- a/target/linux/brcm63xx/base-files/etc/init.d/defconfig
+++ b/target/linux/brcm63xx/base-files/etc/init.d/defconfig
@@ -8,6 +8,10 @@ START=05
start() {
local board=$(awk 'BEGIN{FS="[ \t:/]+"} /system type/ {print $4}' /proc/cpuinfo)
+ if [ "$board" = "96358VW" ] && [ -e /proc/switch/eth1/enable ]; then
+ board="DVAG3810BN"
+ fi
+
[ ! -d /etc/defconfig/$board ] && board="generic"
for f in $( ls /etc/defconfig/$board ); do