aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/ltq-adsl-app/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-04-11 20:40:24 +0000
committerJohn Crispin <john@openwrt.org>2014-04-11 20:40:24 +0000
commit390e856cb2d99631be05750d888cf4aa0aef80f1 (patch)
treeede39e6bf97ae57f7e68ab90a081ab5ad311ecee /package/network/config/ltq-adsl-app/files
parent7b960069a2f6ebee63bdb5a33522dae4ade5e8bf (diff)
downloadupstream-390e856cb2d99631be05750d888cf4aa0aef80f1.tar.gz
upstream-390e856cb2d99631be05750d888cf4aa0aef80f1.tar.bz2
upstream-390e856cb2d99631be05750d888cf4aa0aef80f1.zip
lantiq: more vdsl related cleanups
* atm module needs to be loaded before linux-atm * use absolute firmware paths * extended validation * add a script for mounting an optional firmware partition Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40460
Diffstat (limited to 'package/network/config/ltq-adsl-app/files')
-rw-r--r--package/network/config/ltq-adsl-app/files/dsl_control8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/network/config/ltq-adsl-app/files/dsl_control b/package/network/config/ltq-adsl-app/files/dsl_control
index e48b72b059..fef0834b12 100644
--- a/package/network/config/ltq-adsl-app/files/dsl_control
+++ b/package/network/config/ltq-adsl-app/files/dsl_control
@@ -38,11 +38,15 @@ start() {
eval "xtu=\"\${annex_$annex}\""
[ -z "${firmware}" ] &&
- firmware=adsl.bin
+ firmware=/lib/firmware/adsl.bin
+ [ -f "${firmware}" ] || {
+ echo failed to find $firmware
+ return 1
+ }
service_start /sbin/dsl_cpe_control -i${xtu} \
-n /sbin/dsl_notify.sh \
- -f /lib/firmware/${firmware}
+ -f ${firmware}
}
stop() {