aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/ltq-adsl-app
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-21 18:41:46 +0000
committerJohn Crispin <john@openwrt.org>2014-07-21 18:41:46 +0000
commit64a07e6a8b1a03ddc11b09708898a3f1baa98819 (patch)
treecee84bdeb2f23511e48f4543ab0f2befe75fa208 /package/network/config/ltq-adsl-app
parent683b622fcdaee0a9d67f157f6d31dd729d64c51d (diff)
downloadupstream-64a07e6a8b1a03ddc11b09708898a3f1baa98819.tar.gz
upstream-64a07e6a8b1a03ddc11b09708898a3f1baa98819.tar.bz2
upstream-64a07e6a8b1a03ddc11b09708898a3f1baa98819.zip
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> SVN-Revision: 41787
Diffstat (limited to 'package/network/config/ltq-adsl-app')
-rw-r--r--package/network/config/ltq-adsl-app/files/dsl_control2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/ltq-adsl-app/files/dsl_control b/package/network/config/ltq-adsl-app/files/dsl_control
index fef0834b12..cece347b85 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