diff options
author | John Crispin <blogic@openwrt.org> | 2014-04-11 20:40:24 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-04-11 20:40:24 +0000 |
commit | bef7ea0796e10ace26b1fdda9ea7dc79fbfce63e (patch) | |
tree | d990cfe456a951c8075df206aef8e298282cd6ae /package/network/config/ltq-adsl-app/files | |
parent | 66d49dbdf4e337a86d1c24f67fcd41a527b7c80f (diff) | |
download | master-187ad058-bef7ea0796e10ace26b1fdda9ea7dc79fbfce63e.tar.gz master-187ad058-bef7ea0796e10ace26b1fdda9ea7dc79fbfce63e.tar.bz2 master-187ad058-bef7ea0796e10ace26b1fdda9ea7dc79fbfce63e.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40460 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/config/ltq-adsl-app/files')
-rw-r--r-- | package/network/config/ltq-adsl-app/files/dsl_control | 8 |
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() { |