From 77f32b49298f58590cc1ff92642b7d36a678643d Mon Sep 17 00:00:00 2001 From: Ing Date: Fri, 26 Jul 2024 15:27:34 +0800 Subject: [PATCH] disable rx of all nic --- files/initrd/opt/rr/init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/initrd/opt/rr/init.sh b/files/initrd/opt/rr/init.sh index f25ba58a..6ce1a53b 100755 --- a/files/initrd/opt/rr/init.sh +++ b/files/initrd/opt/rr/init.sh @@ -100,6 +100,7 @@ if [ ! "LOCALBUILD" = "${LOADER_DISK}" ]; then sleep 1 fi [ "${ETH::3}" = "eth" ] && ethtool -s ${ETH} wol g 2>/dev/null || true + [ "${ETH::3}" = "eth" ] && ethtool -K ${ETH} rxhash off 2>/dev/null || true done fi