lantiq-dsl: add 2 ugly workarounds for the IB to work

the IB tries to run the enable target on all init.d scripts.
It fails when including the dsl_control helper. Check for existence
prior to the include.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41787 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
John Crispin 2014-07-21 18:41:46 +00:00
parent 55bee921f6
commit 6a9576ca75
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ EXTRA_HELP=" status Get DSL status information
SERVICE_DAEMONIZE=1
SERVICE_WRITE_PID=1
. /lib/functions/lantiq_dsl.sh
[ -f /lib/functions/lantiq_dsl.sh ] && . /lib/functions/lantiq_dsl.sh
annex_b=10_00_10_00_00_04_00_00
annex_bdmt=10_00_00_00_00_00_00_00

View File

@ -11,7 +11,7 @@ EXTRA_HELP=" status Get DSL status information
SERVICE_DAEMONIZE=1
SERVICE_WRITE_PID=1
. /lib/functions/lantiq_dsl.sh
[ -f /lib/functions/lantiq_dsl.sh ] && . /lib/functions/lantiq_dsl.sh
XDSL_CTRL=vdsl_cpe_control
# G.992.1 Annex A