From: Daniel Golle Date: Fri, 15 Jun 2018 11:30:47 +0000 (+0200) Subject: ltq-vdsl-fw: strip legacy dsl_fw logic X-Git-Tag: v19.07.0-rc1~3451 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=70f4845777cd3835f0f5b6e0294a5a53044576be;p=oweals%2Fopenwrt.git ltq-vdsl-fw: strip legacy dsl_fw logic We unfortunately dropped support for persistent in-flash DSL firmware. Signed-off-by: Daniel Golle --- diff --git a/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh b/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh index fa99ed2777..9242e175c0 100755 --- a/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh +++ b/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh @@ -1,6 +1,4 @@ #!/bin/sh -. /lib/functions.sh - FW="/tmp/firmware-speedport-w921v-1.44.000.bin" URL="https://www.telekom.de/hilfe/downloads/firmware-speedport-w921v-1.44.000.bin" FW_TAPI="vr9_tapi_fw.bin" @@ -47,12 +45,4 @@ D=`md5sum -b ${FW_DSL} | cut -d" " -f1` exit 1 } -MTD=$(find_mtd_index dsl_fw) -if [ "$MTD" -gt 0 -a -e "/dev/mtd$MTD" ]; then - echo "Storing firmware in flash" - tar cvz ${FW_TAPI} ${FW_DSL} | mtd write - "/dev/mtd$MTD" - /etc/init.d/dsl_fs boot -else - cp ${FW_TAPI} ${FW_DSL} /lib/firmware/ - ln -s /lib/firmware/vr9_dsl_fw_annex_b.bin /lib/firmware/vdsl.bin -fi +cp ${FW_TAPI} ${FW_DSL} /lib/firmware/