lantiq-dsl: add 2 ugly workarounds for the IB to work
[openwrt/svn-archive/archive.git] / package / network / config / ltq-adsl-app / files / dsl_control
index fef0834b12d63eccb37b4c52ab6670952950e9c5..cece347b85dc04690a0445f16e99bd345aef9b56 100644 (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