From: Johannes Truschnigg Date: Sun, 4 Sep 2022 07:55:31 +0000 (+0200) Subject: (Hopefully) fix ifb device detection pattern X-Git-Url: https://johannes.truschnigg.info/gitweb/?a=commitdiff_plain;h=e648b9dd1146cfef91d2b56ff5c4b7da1b34ed31;p=sqm_lagthrottle (Hopefully) fix ifb device detection pattern --- diff --git a/sqm_lagthrottle_suggest_config.sh b/sqm_lagthrottle_suggest_config.sh index 448d266..a88ef0d 100755 --- a/sqm_lagthrottle_suggest_config.sh +++ b/sqm_lagthrottle_suggest_config.sh @@ -66,7 +66,7 @@ _goon _h 'set SQM device (downstream/rx)' -ifb_dev=$( (find /sys/devices/virtual/net/ -name ifb\* -print; echo sorry-no-dev-found) | head -n 1) +ifb_dev=$( (find /sys/devices/virtual/net/ -name ifb4\* -print; echo sorry-no-dev-found) | head -n 1) if [ -e "${ifb_dev}" ] then printf 'Auto-detected downstream (rx) network device to adjust:\n\t%s\n\n' "${ifb_dev}" >&2