From b1e38b17b735400efe701076f95c5950aa0f7dfc Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 17 Jul 2020 23:19:06 +0200 Subject: [PATCH] Include ethtool binary for debugging network configuration during network boot This should make it possible to apply specific network speed settings or disable auto-negotiation. Related to https://github.com/grml/grml/issues/153 --- backend/initramfs-tools/live.hook | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/initramfs-tools/live.hook b/backend/initramfs-tools/live.hook index 1efa687..4039345 100755 --- a/backend/initramfs-tools/live.hook +++ b/backend/initramfs-tools/live.hook @@ -264,4 +264,9 @@ then manual_add_modules 8021q fi +if [ -x /sbin/ethtool ] +then + copy_exec /sbin/ethtool +fi + [ "${QUIET}" ] || echo . -- 2.1.4