]> johannes.truschnigg.info Git - sqm_lagthrottle/commitdiff
(Hopefully) fix ifb device detection pattern
authorJohannes Truschnigg <johannes@truschnigg.info>
Sun, 4 Sep 2022 07:55:31 +0000 (09:55 +0200)
committerJohannes Truschnigg <johannes@truschnigg.info>
Sun, 4 Sep 2022 07:55:31 +0000 (09:55 +0200)
sqm_lagthrottle_suggest_config.sh

index 448d2664b770a01e20cb4ddff45edccc797202bc..a88ef0df27a895bfc99c1312868e10251ac486e6 100755 (executable)
@@ -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