From: Adrian Schmutzler Date: Sun, 10 May 2020 14:47:45 +0000 (+0200) Subject: ltq-vdsl-app: replace backticks by $(...) X-Git-Tag: v21.02.0-rc1~2821 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d2d63cc6e056614f79d9c127306fbfc258e938df;p=openwrt%2Fstaging%2Fchunkeey.git ltq-vdsl-app: replace backticks by $(...) This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler --- diff --git a/package/network/config/ltq-vdsl-app/files/dsl_cpe_pipe.sh b/package/network/config/ltq-vdsl-app/files/dsl_cpe_pipe.sh index 30393b281e..9002b7b316 100755 --- a/package/network/config/ltq-vdsl-app/files/dsl_cpe_pipe.sh +++ b/package/network/config/ltq-vdsl-app/files/dsl_cpe_pipe.sh @@ -12,7 +12,7 @@ esac #echo "Call dsl_pipe with $*" lock /var/lock/dsl_pipe echo $* > /tmp/pipe/dsl_cpe${pipe_no}_cmd -result=`cat /tmp/pipe/dsl_cpe${pipe_no}_ack` +result=$(cat /tmp/pipe/dsl_cpe${pipe_no}_ack) lock -u /var/lock/dsl_pipe echo "$result"