forked from Ivasoft/openwrt
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
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user