From dbfe2715f58aae8537bd936fd589a709b0221f16 Mon Sep 17 00:00:00 2001 From: Aaron Murray Date: Tue, 27 Oct 2020 05:58:34 -0500 Subject: [PATCH] add eth1 offloading on helios64 --- install | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install b/install index ec40a57..185c308 100755 --- a/install +++ b/install @@ -13,7 +13,7 @@ # https://github.com/armbian/config/blob/master/debian-software # https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/ # -# version: 1.2.10 +# version: 1.2.11 # if [[ $(id -u) -ne 0 ]]; then @@ -441,6 +441,10 @@ fi # remove networkmanager and dhcpcd5 then configure networkd if [ ${version} -gt 4 ] && [ ${skipNet} -ne 1 ]; then + if [ "${BOARD}" = "helios64" ]; then + echo -e '#!/bin/sh\n/usr/sbin/ethtool --offload eth1 rx off tx off' > /usr/lib/networkd-dispatcher/routable.d/10-disable-offloading + fi + defLink="/etc/systemd/network/99-default.link" if [ -e "${defLink}" ]; then rm -fv "${defLink}"