From b05af1c4bce0279b91d16dc22a38a74ba6336282 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Mon, 26 Jun 2017 17:02:10 -0700 Subject: reproducible: Fix mtu check to only display status when eth0 is present. Signed-off-by: Mattia Rizzolo --- hosts/p64b-armhf-rb/etc/rc.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts/p64b-armhf-rb') diff --git a/hosts/p64b-armhf-rb/etc/rc.local b/hosts/p64b-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/p64b-armhf-rb/etc/rc.local +++ b/hosts/p64b-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 } # -- cgit v1.2.3-70-g09d2