ltq-dsl-base: remove useless echos in lantiq_dsl.sh

The is no reason to catch the output by $() and then echo it again.

Remove the useless echos.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
Adrian Schmutzler 2020-08-17 23:23:37 +02:00 committed by maurerr
parent 1767311e73
commit 01c47110c1
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=ltq-dsl-base PKG_NAME:=ltq-dsl-base
PKG_RELEASE:=1 PKG_RELEASE:=2
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -19,10 +19,10 @@ dsl_cmd() {
) )
} }
dsl_val() { dsl_val() {
echo $(expr "$1" : '.*'$2'=\([-\.[:alnum:]]*\).*') expr "$1" : '.*'$2'=\([-\.[:alnum:]]*\).*'
} }
dsl_string() { dsl_string() {
echo $(expr "$1" : '.*'$2'=(\([A-Z0-9,]*\))') expr "$1" : '.*'$2'=(\([A-Z0-9,]*\))'
} }
# #