Author: blogic Date: 2014-07-21 20:41:46 +0200 (Mon, 21 Jul 2014) New Revision: 41787
Modified: trunk/package/network/config/ltq-adsl-app/files/dsl_control trunk/package/network/config/ltq-vdsl-app/files/dsl_control Log: 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 <[email protected]> Modified: trunk/package/network/config/ltq-adsl-app/files/dsl_control =================================================================== --- trunk/package/network/config/ltq-adsl-app/files/dsl_control 2014-07-21 17:01:27 UTC (rev 41786) +++ trunk/package/network/config/ltq-adsl-app/files/dsl_control 2014-07-21 18:41:46 UTC (rev 41787) @@ -10,7 +10,7 @@ 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 Modified: trunk/package/network/config/ltq-vdsl-app/files/dsl_control =================================================================== --- trunk/package/network/config/ltq-vdsl-app/files/dsl_control 2014-07-21 17:01:27 UTC (rev 41786) +++ trunk/package/network/config/ltq-vdsl-app/files/dsl_control 2014-07-21 18:41:46 UTC (rev 41787) @@ -11,7 +11,7 @@ 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 _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
