Commit b05af1c4 authored by Vagrant Cascadian's avatar Vagrant Cascadian Committed by Mattia Rizzolo

reproducible: Fix mtu check to only display status when eth0 is present.

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent c309768a
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
......@@ -47,8 +47,8 @@ fixup_mtu() {
if [ -z "$(ip link show eth0 | grep 'eth0:' | grep 'mtu 1500 ' || true)" ] ; then
ip link set dev eth0 mtu 1500
fi
ip link show eth0
fi
ip link show eth0
}
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment