Add a dhcpcd hook to set mtu.

This commit is contained in:
Darren 'Tadgy' Austin 2023-11-07 00:39:19 +00:00
commit 215c7f4ff6

4
etc/dhcpcd.exit-hook Normal file
View file

@ -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