aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/ltq-dsl-base
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-17 23:23:37 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-17 23:25:41 +0200
commit18ab496c3231731afbb3390b905f7498fd3488f8 (patch)
tree46b7ea59014f1782f54529d7d2546ece1fa3819e /package/network/utils/ltq-dsl-base
parentb1f6a5d9dffd8da30800e9e66ea772554bbba778 (diff)
downloadupstream-18ab496c3231731afbb3390b905f7498fd3488f8.tar.gz
upstream-18ab496c3231731afbb3390b905f7498fd3488f8.tar.bz2
upstream-18ab496c3231731afbb3390b905f7498fd3488f8.zip
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>
Diffstat (limited to 'package/network/utils/ltq-dsl-base')
-rw-r--r--package/network/utils/ltq-dsl-base/Makefile2
-rwxr-xr-xpackage/network/utils/ltq-dsl-base/files/lib/functions/lantiq_dsl.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/package/network/utils/ltq-dsl-base/Makefile b/package/network/utils/ltq-dsl-base/Makefile
index 6b931f7abd..e2cfc4004c 100644
--- a/package/network/utils/ltq-dsl-base/Makefile
+++ b/package/network/utils/ltq-dsl-base/Makefile
@@ -6,7 +6,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=ltq-dsl-base
-PKG_RELEASE:=1
+PKG_RELEASE:=2
include $(INCLUDE_DIR)/package.mk
diff --git a/package/network/utils/ltq-dsl-base/files/lib/functions/lantiq_dsl.sh b/package/network/utils/ltq-dsl-base/files/lib/functions/lantiq_dsl.sh
index 11b02fc4aa..5842a7879f 100755
--- a/package/network/utils/ltq-dsl-base/files/lib/functions/lantiq_dsl.sh
+++ b/package/network/utils/ltq-dsl-base/files/lib/functions/lantiq_dsl.sh
@@ -19,10 +19,10 @@ dsl_cmd() {
)
}
dsl_val() {
- echo $(expr "$1" : '.*'$2'=\([-\.[:alnum:]]*\).*')
+ expr "$1" : '.*'$2'=\([-\.[:alnum:]]*\).*'
}
dsl_string() {
- echo $(expr "$1" : '.*'$2'=(\([A-Z0-9,]*\))')
+ expr "$1" : '.*'$2'=(\([A-Z0-9,]*\))'
}
#