summaryrefslogblamecommitdiffstats
path: root/modules.d/slx-network/hooks/configure-jumbo-frames.sh
blob: 97ac8e9dc8b86795b561a3546650f6a91e43c864 (plain) (tree)
1
2
3
4
5
6
7
8

           
                             




                                                 
#!/bin/bash

. "/run/openslx/network.conf"

if [ "x$SLX_JUMBO_FRAMES" = "xyes" ]; then
	ip link set dev "$SLX_PXE_NETIF" mtu 9000
fi
true