From a695ad5a4f15b61d603ab624d7162c4a2ad745c7 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Tue, 12 Nov 2024 11:44:15 +0100 Subject: [PATCH] Doesn't disable txqueuelen on RPI5 --- mptcp/files/etc/init.d/mptcp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mptcp/files/etc/init.d/mptcp b/mptcp/files/etc/init.d/mptcp index d370e7bb1..ddca7b9b1 100755 --- a/mptcp/files/etc/init.d/mptcp +++ b/mptcp/files/etc/init.d/mptcp @@ -581,7 +581,7 @@ start_service() { fi [ -n "$(uci -q changes network)" ] && uci -q commit network [ -n "$(uci -q changes openmptcprouter)" ] && uci -q commit openmptcprouter - [ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep raspberry)" ] && [ -z "$(ubus call system board | jsonfilter -e '@.board_name' | grep '4-model-b')" ] && { + [ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep raspberry)" ] && [ -z "$(ubus call system board | jsonfilter -e '@.board_name' | grep '4-model-b')" ] && [ -z "$(ubus call system board | jsonfilter -e '@.board_name' | grep '5')" ] && { ethtool --offload eth0 rx off tx off > /dev/null 2>&1 } [ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep -i r2s)" ] && {