mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-06 20:49:29 -05:00
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>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ltq-dsl-base
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
||||
@@ -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,]*\))'
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user