From 215c7f4ff61e61da2d5408cf6bc39647b8de2f98 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Tue, 7 Nov 2023 00:39:19 +0000 Subject: [PATCH] Add a dhcpcd hook to set mtu. --- etc/dhcpcd.exit-hook | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 etc/dhcpcd.exit-hook diff --git a/etc/dhcpcd.exit-hook b/etc/dhcpcd.exit-hook new file mode 100644 index 0000000..6d905e6 --- /dev/null +++ b/etc/dhcpcd.exit-hook @@ -0,0 +1,4 @@ +#!/bin/bash +# To activate this hook, a symlink needs to be created in /usr/libexec/dhcpcd-hooks: ln -sf /etc/dhcpcd.exit-hook 10-mtu + +ip l set mtu 9000 dev eno16780032