lantiq_dsl.sh: properly detect vdsl_cpe_control and add missing quotes
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 29 Oct 2014 08:23:47 +0000 (08:23 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 29 Oct 2014 08:23:47 +0000 (08:23 +0000)
commitb0d1d39008d21004fb509bc68c17e90bbb201680
tree9c256aa6ed2fbea20dd19b7fe9ae0a83a99845dc
parent4ab65e1e1d65618f605030585112e02e33da1731
lantiq_dsl.sh: properly detect vdsl_cpe_control and add missing quotes

lantiq_dsl.sh didn't work with VDSL chipsets for now, fix that by
detecting whether vdsl_cpe_control or dsl_cpe_control should be used.
Also add missing quotes around shell string comparision.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43101 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh