summaryrefslogtreecommitdiff
path: root/package/network/config/ltq-adsl-app
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/config/ltq-adsl-app')
-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 e48b72b..fef0834 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() {