forked from Ivasoft/openwrt
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:
@@ -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