add support for D-Link DVA-G3810BN/TL
[openwrt/openwrt.git] / target / linux / brcm63xx / base-files / etc / init.d / defconfig
index dac9c23440f5961661926d4ba9a3570dbce3968b..8fd783d4d652c2bfafe110ad88df401e85b94deb 100755 (executable)
@@ -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