diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-05-20 10:06:15 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-05-20 10:06:15 +0000 |
commit | 3e83f60a6658cfc6e62f9f599efbe8f779a41b4e (patch) | |
tree | 99d9262639aad08d3c3f014e8d127be666085356 /target/linux/brcm63xx/base-files/etc/init.d | |
parent | f9f8dcfa705d84666a58aa71054d0223421f2005 (diff) | |
download | mtk-20170518-3e83f60a6658cfc6e62f9f599efbe8f779a41b4e.zip mtk-20170518-3e83f60a6658cfc6e62f9f599efbe8f779a41b4e.tar.gz mtk-20170518-3e83f60a6658cfc6e62f9f599efbe8f779a41b4e.tar.bz2 |
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>
SVN-Revision: 26956
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc/init.d')
-rwxr-xr-x | target/linux/brcm63xx/base-files/etc/init.d/defconfig | 4 |
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 dac9c23..8fd783d 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 |