[OpenWrt-Devel] [PATCH 4/4] lantiq: fall back to a more appropriate default dsl firmware
Andre Heider
a.heider at gmail.com
Wed Dec 2 15:38:12 EST 2015
Signed-off-by: Andre Heider <a.heider at gmail.com>
---
What I'm not sure about is annex j.
Is that using the a or b firmware or will it get its own?
package/network/config/ltq-vdsl-app/files/dsl_control | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
mode change 100644 => 100755 package/network/config/ltq-vdsl-app/files/dsl_control
diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package/network/config/ltq-vdsl-app/files/dsl_control
old mode 100644
new mode 100755
index d7eb4cd..48815ab
--- a/package/network/config/ltq-vdsl-app/files/dsl_control
+++ b/package/network/config/ltq-vdsl-app/files/dsl_control
@@ -69,11 +69,12 @@ start_service() {
eval "xtse_adsl=\"\${xtse_adsl_$annex}\""
if [ "${xtse_adsl}" ]; then
xtse=$xtse_adsl
+ [ -z "${firmware}" ] && firmware=/lib/firmware/adsl-${annex}.bin
else
xtse=$xtse_vdsl
+ [ -z "${firmware}" ] && firmware=/lib/firmware/vdsl.bin
fi
- [ -z "${firmware}" ] && firmware=/lib/firmware/vdsl.bin
[ -f "${firmware}" ] || {
echo failed to find $firmware
return 1
--
2.6.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list