]> git.proxmox.com Git - pve-manager.git/blame - network-hooks/mtu
update shipped appliance info index
[pve-manager.git] / network-hooks / mtu
CommitLineData
c7bee4c6
AD
1#!/bin/sh
2
3case "$IFACE" in
4 # Ignore any alias (#272891) which uses <interface>:<alabel>
5 *:*)
6 exit 0
7 ;;
8esac
9
10if [ "$METHOD" != manual ]; then
11 exit 0
12fi
13
14if [ -n "$IF_MTU" ]; then
15 ip link set $IFACE mtu $IF_MTU
16fi