ltq-vdsl-app: replace backticks by $(...)
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 10 May 2020 14:47:45 +0000 (16:47 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 13 May 2020 17:01:23 +0000 (19:01 +0200)
This replaces deprecated backticks by more versatile $(...) syntax.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
package/network/config/ltq-vdsl-app/files/dsl_cpe_pipe.sh

index 30393b281e161cd54162ab43cb8c3f451c9087f8..9002b7b3164abdb4038aaa40d65f2a0776362825 100755 (executable)
@@ -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"