systemd/ethernet.service

16 lines
282 B
Desktop File

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