lantiq_dsl.sh: properly detect vdsl_cpe_control and add missing quotes
authorJohn Crispin <john@openwrt.org>
Wed, 29 Oct 2014 08:23:47 +0000 (08:23 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 29 Oct 2014 08:23:47 +0000 (08:23 +0000)
commit9762c549149e1226a3affe43df71aa14379bd5d5
tree7255467c28583a88a0b6307e10e3b5bfbbfee23e
parent0100a8a68ef51ead7d1c570bcc33fb36493fbf00
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>
SVN-Revision: 43101
target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh