forked from Ivasoft/openwrt
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>
This commit is contained in:
committed by
Christian Lamparter
parent
a421a12f9c
commit
aea3cab77a
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user