summaryrefslogtreecommitdiffstats
path: root/hosts/rpi2b-armhf-rb/etc/rc.local
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2017-06-26 17:02:10 -0700
committerMattia Rizzolo <mattia@debian.org>2017-06-27 10:33:12 +0200
commitb05af1c4bce0279b91d16dc22a38a74ba6336282 (patch)
tree3a5395fddf119177c01c2e68ec59cf352324517b /hosts/rpi2b-armhf-rb/etc/rc.local
parentc309768a5c4a0a94fdbd3842de9f454dcd32b69e (diff)
downloadjenkins.debian.net-b05af1c4bce0279b91d16dc22a38a74ba6336282.tar.xz
reproducible: Fix mtu check to only display status when eth0 is present.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
Diffstat (limited to 'hosts/rpi2b-armhf-rb/etc/rc.local')
-rwxr-xr-xhosts/rpi2b-armhf-rb/etc/rc.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/rpi2b-armhf-rb/etc/rc.local b/hosts/rpi2b-armhf-rb/etc/rc.local
index 95f5f352..aa6bfefc 100755
--- a/hosts/rpi2b-armhf-rb/etc/rc.local
+++ b/hosts/rpi2b-armhf-rb/etc/rc.local
@@ -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
}
#