aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/files
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-05-10 16:47:48 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-05-13 19:01:23 +0200
commit05afbcd14e1ea9fd25454c1c2fcc0ead4e46af53 (patch)
treee2ed1637ca05b9d51ca07b6bbfdf5e0761439762 /package/kernel/mac80211/files
parent420245954109534354862cfb0658d765499ce2b2 (diff)
downloadupstream-05afbcd14e1ea9fd25454c1c2fcc0ead4e46af53.tar.gz
upstream-05afbcd14e1ea9fd25454c1c2fcc0ead4e46af53.tar.bz2
upstream-05afbcd14e1ea9fd25454c1c2fcc0ead4e46af53.zip
mac80211: replace backticks by $(...)
This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'package/kernel/mac80211/files')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 88751ce3cc..7ca138c68c 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -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