aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-07-21 18:41:46 +0000
committerJohn Crispin <blogic@openwrt.org>2014-07-21 18:41:46 +0000
commit6a9576ca750cbc4f0621b55927e84de8b35d11d9 (patch)
treea31dbb0b0f53c10ffa8c7b348b8ba699d996ab21 /package
parent55bee921f6cb6a4dbe95660e850447cf3c3898dd (diff)
downloadmaster-187ad058-6a9576ca750cbc4f0621b55927e84de8b35d11d9.tar.gz
master-187ad058-6a9576ca750cbc4f0621b55927e84de8b35d11d9.tar.bz2
master-187ad058-6a9576ca750cbc4f0621b55927e84de8b35d11d9.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41787 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/network/config/ltq-adsl-app/files/dsl_control2
-rw-r--r--package/network/config/ltq-vdsl-app/files/dsl_control2
2 files changed, 2 insertions, 2 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
diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package/network/config/ltq-vdsl-app/files/dsl_control
index 7c423114cb..4bfea97031 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