mac80211: replace backticks by $(...)
This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
4202459541
commit
05afbcd14e
@ -1040,7 +1040,7 @@ list_phy_interfaces() {
|
|||||||
drv_mac80211_teardown() {
|
drv_mac80211_teardown() {
|
||||||
wireless_process_kill_all
|
wireless_process_kill_all
|
||||||
|
|
||||||
for phy in `ls /sys/class/ieee80211/`; do
|
for phy in $(ls /sys/class/ieee80211/); do
|
||||||
mac80211_interface_cleanup "$phy"
|
mac80211_interface_cleanup "$phy"
|
||||||
uci -q -P /var/state revert wireless._${phy}
|
uci -q -P /var/state revert wireless._${phy}
|
||||||
done
|
done
|
||||||
|
@ -70,7 +70,7 @@ get_next() {
|
|||||||
done | tail -n1
|
done | tail -n1
|
||||||
}
|
}
|
||||||
|
|
||||||
CUR=`get_next`
|
CUR=$(get_next)
|
||||||
CUR="${CUR:-$BASE}"
|
CUR="${CUR:-$BASE}"
|
||||||
|
|
||||||
while [ -n "$1" ]; do
|
while [ -n "$1" ]; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user