Update net-speed.sh
Added the common prefix `enx` as possible string for interface detection. See https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
This commit is contained in:
parent
b4c1bb97af
commit
33ba83e76e
@ -24,7 +24,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Auto detect interfaces
|
# Auto detect interfaces
|
||||||
ifaces=$(ls /sys/class/net | grep -E '^(eth|wlan|enp|wlp)')
|
ifaces=$(ls /sys/class/net | grep -E '^(eth|wlan|enp|enx|wlp)')
|
||||||
|
|
||||||
last_time=0
|
last_time=0
|
||||||
last_rx=0
|
last_rx=0
|
||||||
|
Loading…
Reference in New Issue
Block a user