X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2ce35911df2b85275e9e6204365b51e3f4dfb75d..18982296c750b8bd433669adb28134d645e68932:/target/linux/brcm63xx/base-files/etc/init.d/defconfig?ds=sidebyside diff --git a/target/linux/brcm63xx/base-files/etc/init.d/defconfig b/target/linux/brcm63xx/base-files/etc/init.d/defconfig index dac9c2344..8fd783d4d 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