From aea3cab77a847e0cd70fcf5bb95aa2fd4309b2f1 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Thu, 25 Jul 2019 00:47:13 +0200 Subject: lantiq: replace backticks by $(...) and remove useless echo This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler [decapitalized patch subject at submitter's request] Signed-off-by: Christian Lamparter --- target/linux/lantiq/base-files/etc/hotplug.d/dsl/pppoa.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/lantiq/base-files/etc/hotplug.d') diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/dsl/pppoa.sh b/target/linux/lantiq/base-files/etc/hotplug.d/dsl/pppoa.sh index b9a3313c83..4506737672 100755 --- a/target/linux/lantiq/base-files/etc/hotplug.d/dsl/pppoa.sh +++ b/target/linux/lantiq/base-files/etc/hotplug.d/dsl/pppoa.sh @@ -8,7 +8,7 @@ include /lib/network scan_interfaces -interfaces=`ubus list network.interface.\* | cut -d"." -f3` +interfaces=$(ubus list network.interface.\* | cut -d"." -f3) for ifc in $interfaces; do json_load "$(ifstatus $ifc)" -- cgit v1.2.3