#!/bin/bash function actually_just_show { echo "The MTU of $iface is $nowmtu." exit 0 } function get_default_iface { iface=$(ip a | grep "state UP" | grep -v "virbr0" | cut -d: -f2 | tr -d '[[:space:]]') if [ "x" == "x$iface" ] then echo "No active iface" exit 1 fi } function get_current_mtu { nowmtu=$( /dev/null fi