c7bee4c675
tested with classic linux interfaces/bridge and openvswitch interfaces Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
17 lines
236 B
Bash
Executable File
17 lines
236 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case "$IFACE" in
|
|
# Ignore any alias (#272891) which uses <interface>:<alabel>
|
|
*:*)
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
if [ "$METHOD" != manual ]; then
|
|
exit 0
|
|
fi
|
|
|
|
if [ -n "$IF_MTU" ]; then
|
|
ip link set $IFACE mtu $IF_MTU
|
|
fi
|