diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-10 16:47:49 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-13 19:01:23 +0200 |
commit | ffa3a8e9b0fad746a50faf3c2a11b4e92b3d7092 (patch) | |
tree | 5c83086d9eb35cc05394ae98e5db4589e12020dd /package/network/config/netifd/files/etc/hotplug.d/net | |
parent | 05afbcd14e1ea9fd25454c1c2fcc0ead4e46af53 (diff) | |
download | upstream-ffa3a8e9b0fad746a50faf3c2a11b4e92b3d7092.tar.gz upstream-ffa3a8e9b0fad746a50faf3c2a11b4e92b3d7092.tar.bz2 upstream-ffa3a8e9b0fad746a50faf3c2a11b4e92b3d7092.zip |
netifd: replace backticks by $(...)
This replaces deprecated backticks by more versatile $(...) syntax.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'package/network/config/netifd/files/etc/hotplug.d/net')
-rw-r--r-- | package/network/config/netifd/files/etc/hotplug.d/net/20-smp-packet-steering | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/netifd/files/etc/hotplug.d/net/20-smp-packet-steering b/package/network/config/netifd/files/etc/hotplug.d/net/20-smp-packet-steering index 9d7aaae0ac..ce5e76096a 100644 --- a/package/network/config/netifd/files/etc/hotplug.d/net/20-smp-packet-steering +++ b/package/network/config/netifd/files/etc/hotplug.d/net/20-smp-packet-steering @@ -14,7 +14,7 @@ find_irq_cpu() { [ -n "$match" ] && { set -- $match shift - for cur in `seq 1 $NPROCS`; do + for cur in $(seq 1 $NPROCS); do [ "$1" -gt 0 ] && { cpu=$(($cur - 1)) break |