From 33ba83e76e1931b0941207655cb1d973e20f0c28 Mon Sep 17 00:00:00 2001 From: reuben honigwachs Date: Wed, 1 Apr 2020 23:32:49 +0200 Subject: [PATCH] Update net-speed.sh Added the common prefix `enx` as possible string for interface detection. See https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ --- contrib/net-speed.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/net-speed.sh b/contrib/net-speed.sh index 71a563f..ed41974 100755 --- a/contrib/net-speed.sh +++ b/contrib/net-speed.sh @@ -24,7 +24,7 @@ # # 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_rx=0