diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-07-25 00:43:00 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-08-31 12:08:23 +0200 |
commit | d94a3f328f39d93550fd29cc7930d50e1f849d24 (patch) | |
tree | 93b853fabf23d9f9e71244f9f7750b863b95e57b /target/linux/ipq806x/base-files/etc | |
parent | dddb43775f59271d86ebd724f059aff38517d20b (diff) | |
download | upstream-d94a3f328f39d93550fd29cc7930d50e1f849d24.tar.gz upstream-d94a3f328f39d93550fd29cc7930d50e1f849d24.tar.bz2 upstream-d94a3f328f39d93550fd29cc7930d50e1f849d24.zip |
ipq806x: Replace backticks by $(...)
This replaces deprecated backticks by more versatile $(...) syntax.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ipq806x/base-files/etc')
-rw-r--r-- | target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac index 4b476e56ae..f0256fd259 100644 --- a/target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac +++ b/target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac @@ -13,13 +13,13 @@ OPATH=${DEVPATH##/devices/platform/} OPATH=${OPATH%%/ieee*} # 10 radios is enough for anyone! -for i in `seq 0 9`; +for i in $(seq 0 9); do - BUS=`uci get wireless.@wifi-device[$i].path` + BUS=$(uci get wireless.@wifi-device[$i].path) if [ "$BUS " == "$OPATH " ] then PHYNAME=${DEVPATH##*ieee80211/} - NPHYNAME=`uci get wireless.@wifi-device[$i].phyname` + NPHYNAME=$(uci get wireless.@wifi-device[$i].phyname) if [ "$NPHYNAME " != " " ] then if [ "$PHYNAME " != "$NPHYNAME " ] |