2024-03-10 14:38:48 +00:00
|
|
|
# 2024-03-04
|
|
|
|
|
2024-03-10 14:37:20 +00:00
|
|
|
[Unit]
|
2024-03-10 14:38:48 +00:00
|
|
|
Description=Ethernet Tweak Settings
|
2024-03-10 14:37:20 +00:00
|
|
|
After=network-online.target
|
2024-03-10 14:38:48 +00:00
|
|
|
After=net.service
|
2024-03-10 14:37:20 +00:00
|
|
|
|
|
|
|
[Service]
|
2024-03-10 14:38:48 +00:00
|
|
|
EnvironmentFile=/etc/env/net
|
2024-03-10 14:37:20 +00:00
|
|
|
Type=oneshot
|
2024-03-10 14:38:48 +00:00
|
|
|
ExecStart=ip link set ${IFACE} mtu 9000
|
|
|
|
ExecStart=ip link set ${IFACE} txqueuelen 10000
|
2024-03-10 14:37:20 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|