type: u32
priority: 461
help: Maximum Transmission Unit (MTU)
syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "Must be between 68-9000"
val_help: u32:68-9000; Maximum Transmission Unit (MTU)
update:
if [ -d /sys/class/net/$VAR(../@) ] ; then
sudo ip link set $VAR(../@) mtu $VAR(@)
fi
delete:
if [ -d /sys/class/net/$VAR(../@) ] ; then
sudo ip link set $VAR(../@) mtu 1488
fi