diff options
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 |