aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-07-25 00:47:13 +0200
committerChristian Lamparter <chunkeey@gmail.com>2019-09-29 00:46:13 +0200
commitaea3cab77a847e0cd70fcf5bb95aa2fd4309b2f1 (patch)
tree729a3eddde69552c481eb97ebe12c8b574e64be5 /target/linux/lantiq/base-files/etc
parenta421a12f9cc7b0d552f83c2f6fe06b14308ab614 (diff)
downloadupstream-aea3cab77a847e0cd70fcf5bb95aa2fd4309b2f1.tar.gz
upstream-aea3cab77a847e0cd70fcf5bb95aa2fd4309b2f1.tar.bz2
upstream-aea3cab77a847e0cd70fcf5bb95aa2fd4309b2f1.zip
lantiq: replace backticks by $(...) and remove useless echo
This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> [decapitalized patch subject at submitter's request] Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/lantiq/base-files/etc')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/hotplug.d/dsl/pppoa.sh2
1 files changed, 1 insertions, 1 deletions
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)"