projects
/
openwrt
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ltq-vdsl-app: use notification based ATM/PTM driver load
[openwrt/.git]
/
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
index 7406fe1c0c923d693987de8e820ac5d00c0c82a7..1d4129fc7d583a04a59c53841bff26c1eedd9c62 100644
(file)
--- a/
package/network/config/ltq-vdsl-app/files/dsl_control
+++ b/
package/network/config/ltq-vdsl-app/files/dsl_control
@@
-198,16
+198,10
@@
start_service() {
case "${xfer_mode}" in
atm)
case "${xfer_mode}" in
atm)
- LOAD=ltq_atm_vr9
- UNLOAD=ltq_ptm_vr9
-
# in most cases atm is used on top of adsl
[ -z "${line_mode}" ] && line_mode=adsl
;;
*)
# in most cases atm is used on top of adsl
[ -z "${line_mode}" ] && line_mode=adsl
;;
*)
- LOAD=ltq_ptm_vr9
- UNLOAD=ltq_atm_vr9
-
# in most cases ptm is used on top of vdsl
[ -z "${line_mode}" ] && line_mode=vdsl
;;
# in most cases ptm is used on top of vdsl
[ -z "${line_mode}" ] && line_mode=vdsl
;;
@@
-301,14
+295,13
@@
start_service() {
}
procd_open_instance
}
procd_open_instance
- procd_set_param command /sbin/vdsl_cpe_control
_wrapper
\
+ procd_set_param command /sbin/vdsl_cpe_control \
-i$xtse \
-n /sbin/dsl_notify.sh \
-f ${firmware} \
$lowlevel \
-M ${mode} \
$autoboot
-i$xtse \
-n /sbin/dsl_notify.sh \
-f ${firmware} \
$lowlevel \
-M ${mode} \
$autoboot
- procd_append_param env "LOAD=$LOAD" "UNLOAD=$UNLOAD"
procd_close_instance
}
procd_close_instance
}