From 64a07e6a8b1a03ddc11b09708898a3f1baa98819 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 21 Jul 2014 18:41:46 +0000 Subject: 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 SVN-Revision: 41787 --- package/network/config/ltq-adsl-app/files/dsl_control | 2 +- package/network/config/ltq-vdsl-app/files/dsl_control | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'package') diff --git a/package/network/config/ltq-adsl-app/files/dsl_control b/package/network/config/ltq-adsl-app/files/dsl_control index fef0834..cece347 100644 --- a/package/network/config/ltq-adsl-app/files/dsl_control +++ b/package/network/config/ltq-adsl-app/files/dsl_control @@ -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 diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package/network/config/ltq-vdsl-app/files/dsl_control index 7c42311..4bfea97 100644 --- a/package/network/config/ltq-vdsl-app/files/dsl_control +++ b/package/network/config/ltq-vdsl-app/files/dsl_control @@ -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 -- cgit v1.1