mac80211: replace backticks by $(...)

This replaces deprecated backticks by more versatile $(...) syntax.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
master
Adrian Schmutzler 2020-05-10 16:47:48 +02:00
parent 4202459541
commit 05afbcd14e
2 changed files with 2 additions and 2 deletions

View File

@ -1040,7 +1040,7 @@ list_phy_interfaces() {
drv_mac80211_teardown() {
wireless_process_kill_all
for phy in `ls /sys/class/ieee80211/`; do
for phy in $(ls /sys/class/ieee80211/); do
mac80211_interface_cleanup "$phy"
uci -q -P /var/state revert wireless._${phy}
done

View File

@ -70,7 +70,7 @@ get_next() {
done | tail -n1
}
CUR=`get_next`
CUR=$(get_next)
CUR="${CUR:-$BASE}"
while [ -n "$1" ]; do