diff options
author | Vagrant Cascadian <vagrant@debian.org> | 2017-06-26 17:02:10 -0700 |
---|---|---|
committer | Mattia Rizzolo <mattia@debian.org> | 2017-06-27 10:33:12 +0200 |
commit | b05af1c4bce0279b91d16dc22a38a74ba6336282 (patch) | |
tree | 3a5395fddf119177c01c2e68ec59cf352324517b | |
parent | c309768a5c4a0a94fdbd3842de9f454dcd32b69e (diff) | |
download | jenkins.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>
50 files changed, 50 insertions, 50 deletions
diff --git a/hosts/bbx15-armhf-rb/etc/rc.local b/hosts/bbx15-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/bbx15-armhf-rb/etc/rc.local +++ b/hosts/bbx15-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 } # diff --git a/hosts/bpi0-armhf-rb/etc/rc.local b/hosts/bpi0-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/bpi0-armhf-rb/etc/rc.local +++ b/hosts/bpi0-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 } # diff --git a/hosts/cb3a-armhf-rb/etc/rc.local b/hosts/cb3a-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/cb3a-armhf-rb/etc/rc.local +++ b/hosts/cb3a-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 } # diff --git a/hosts/cbxi4a-armhf-rb/etc/rc.local b/hosts/cbxi4a-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/cbxi4a-armhf-rb/etc/rc.local +++ b/hosts/cbxi4a-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 } # diff --git a/hosts/cbxi4b-armhf-rb/etc/rc.local b/hosts/cbxi4b-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/cbxi4b-armhf-rb/etc/rc.local +++ b/hosts/cbxi4b-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 } # diff --git a/hosts/cbxi4pro0-armhf-rb/etc/rc.local b/hosts/cbxi4pro0-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/cbxi4pro0-armhf-rb/etc/rc.local +++ b/hosts/cbxi4pro0-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 } # diff --git a/hosts/codethink-sled10-arm64/etc/rc.local b/hosts/codethink-sled10-arm64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/codethink-sled10-arm64/etc/rc.local +++ b/hosts/codethink-sled10-arm64/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 } # diff --git a/hosts/codethink-sled11-arm64/etc/rc.local b/hosts/codethink-sled11-arm64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/codethink-sled11-arm64/etc/rc.local +++ b/hosts/codethink-sled11-arm64/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 } # diff --git a/hosts/codethink-sled12-arm64/etc/rc.local b/hosts/codethink-sled12-arm64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/codethink-sled12-arm64/etc/rc.local +++ b/hosts/codethink-sled12-arm64/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 } # diff --git a/hosts/codethink-sled13-arm64/etc/rc.local b/hosts/codethink-sled13-arm64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/codethink-sled13-arm64/etc/rc.local +++ b/hosts/codethink-sled13-arm64/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 } # diff --git a/hosts/codethink-sled14-arm64/etc/rc.local b/hosts/codethink-sled14-arm64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/codethink-sled14-arm64/etc/rc.local +++ b/hosts/codethink-sled14-arm64/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 } # diff --git a/hosts/codethink-sled15-arm64/etc/rc.local b/hosts/codethink-sled15-arm64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/codethink-sled15-arm64/etc/rc.local +++ b/hosts/codethink-sled15-arm64/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 } # diff --git a/hosts/codethink-sled16-arm64/etc/rc.local b/hosts/codethink-sled16-arm64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/codethink-sled16-arm64/etc/rc.local +++ b/hosts/codethink-sled16-arm64/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 } # diff --git a/hosts/codethink-sled9-arm64/etc/rc.local b/hosts/codethink-sled9-arm64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/codethink-sled9-arm64/etc/rc.local +++ b/hosts/codethink-sled9-arm64/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 } # diff --git a/hosts/ff2a-armhf-rb/etc/rc.local b/hosts/ff2a-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/ff2a-armhf-rb/etc/rc.local +++ b/hosts/ff2a-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 } # diff --git a/hosts/ff2b-armhf-rb/etc/rc.local b/hosts/ff2b-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/ff2b-armhf-rb/etc/rc.local +++ b/hosts/ff2b-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 } # diff --git a/hosts/ff4a-armhf-rb/etc/rc.local b/hosts/ff4a-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/ff4a-armhf-rb/etc/rc.local +++ b/hosts/ff4a-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 } # diff --git a/hosts/ff64a-armhf-rb/etc/rc.local b/hosts/ff64a-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/ff64a-armhf-rb/etc/rc.local +++ b/hosts/ff64a-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 } # diff --git a/hosts/hb0-armhf-rb/etc/rc.local b/hosts/hb0-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/hb0-armhf-rb/etc/rc.local +++ b/hosts/hb0-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 } # diff --git a/hosts/jenkins-test-vm/etc/rc.local b/hosts/jenkins-test-vm/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/jenkins-test-vm/etc/rc.local +++ b/hosts/jenkins-test-vm/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 } # diff --git a/hosts/jenkins/etc/rc.local b/hosts/jenkins/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/jenkins/etc/rc.local +++ b/hosts/jenkins/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 } # diff --git a/hosts/jtk1a-armhf-rb/etc/rc.local b/hosts/jtk1a-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/jtk1a-armhf-rb/etc/rc.local +++ b/hosts/jtk1a-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 } # diff --git a/hosts/jtx1a-armhf-rb/etc/rc.local b/hosts/jtx1a-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/jtx1a-armhf-rb/etc/rc.local +++ b/hosts/jtx1a-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 } # diff --git a/hosts/odc2a-armhf-rb/etc/rc.local b/hosts/odc2a-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/odc2a-armhf-rb/etc/rc.local +++ b/hosts/odc2a-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 } # diff --git a/hosts/odu3a-armhf-rb/etc/rc.local b/hosts/odu3a-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/odu3a-armhf-rb/etc/rc.local +++ b/hosts/odu3a-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 } # diff --git a/hosts/odxu4-armhf-rb/etc/rc.local b/hosts/odxu4-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/odxu4-armhf-rb/etc/rc.local +++ b/hosts/odxu4-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 } # diff --git a/hosts/odxu4b-armhf-rb/etc/rc.local b/hosts/odxu4b-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/odxu4b-armhf-rb/etc/rc.local +++ b/hosts/odxu4b-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 } # diff --git a/hosts/odxu4c-armhf-rb/etc/rc.local b/hosts/odxu4c-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/odxu4c-armhf-rb/etc/rc.local +++ b/hosts/odxu4c-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 } # diff --git a/hosts/opi2a-armhf-rb/etc/rc.local b/hosts/opi2a-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/opi2a-armhf-rb/etc/rc.local +++ b/hosts/opi2a-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 } # diff --git a/hosts/opi2b-armhf-rb/etc/rc.local b/hosts/opi2b-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/opi2b-armhf-rb/etc/rc.local +++ b/hosts/opi2b-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 } # diff --git a/hosts/opi2c-armhf-rb/etc/rc.local b/hosts/opi2c-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/opi2c-armhf-rb/etc/rc.local +++ b/hosts/opi2c-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 } # 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 } # diff --git a/hosts/p64c-armhf-rb/etc/rc.local b/hosts/p64c-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/p64c-armhf-rb/etc/rc.local +++ b/hosts/p64c-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 } # diff --git a/hosts/profitbricks-build1-amd64/etc/rc.local b/hosts/profitbricks-build1-amd64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/profitbricks-build1-amd64/etc/rc.local +++ b/hosts/profitbricks-build1-amd64/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 } # diff --git a/hosts/profitbricks-build10-amd64/etc/rc.local b/hosts/profitbricks-build10-amd64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/profitbricks-build10-amd64/etc/rc.local +++ b/hosts/profitbricks-build10-amd64/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 } # diff --git a/hosts/profitbricks-build11-amd64/etc/rc.local b/hosts/profitbricks-build11-amd64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/profitbricks-build11-amd64/etc/rc.local +++ b/hosts/profitbricks-build11-amd64/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 } # diff --git a/hosts/profitbricks-build12-i386/etc/rc.local b/hosts/profitbricks-build12-i386/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/profitbricks-build12-i386/etc/rc.local +++ b/hosts/profitbricks-build12-i386/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 } # diff --git a/hosts/profitbricks-build15-amd64/etc/rc.local b/hosts/profitbricks-build15-amd64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/profitbricks-build15-amd64/etc/rc.local +++ b/hosts/profitbricks-build15-amd64/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 } # diff --git a/hosts/profitbricks-build16-i386/etc/rc.local b/hosts/profitbricks-build16-i386/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/profitbricks-build16-i386/etc/rc.local +++ b/hosts/profitbricks-build16-i386/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 } # diff --git a/hosts/profitbricks-build2-i386/etc/rc.local b/hosts/profitbricks-build2-i386/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/profitbricks-build2-i386/etc/rc.local +++ b/hosts/profitbricks-build2-i386/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 } # diff --git a/hosts/profitbricks-build3-amd64/etc/rc.local b/hosts/profitbricks-build3-amd64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/profitbricks-build3-amd64/etc/rc.local +++ b/hosts/profitbricks-build3-amd64/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 } # diff --git a/hosts/profitbricks-build4-amd64/etc/rc.local b/hosts/profitbricks-build4-amd64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/profitbricks-build4-amd64/etc/rc.local +++ b/hosts/profitbricks-build4-amd64/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 } # diff --git a/hosts/profitbricks-build5-amd64/etc/rc.local b/hosts/profitbricks-build5-amd64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/profitbricks-build5-amd64/etc/rc.local +++ b/hosts/profitbricks-build5-amd64/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 } # diff --git a/hosts/profitbricks-build6-i386/etc/rc.local b/hosts/profitbricks-build6-i386/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/profitbricks-build6-i386/etc/rc.local +++ b/hosts/profitbricks-build6-i386/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 } # diff --git a/hosts/profitbricks-build7-amd64/etc/rc.local b/hosts/profitbricks-build7-amd64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/profitbricks-build7-amd64/etc/rc.local +++ b/hosts/profitbricks-build7-amd64/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 } # diff --git a/hosts/profitbricks-build9-amd64/etc/rc.local b/hosts/profitbricks-build9-amd64/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/profitbricks-build9-amd64/etc/rc.local +++ b/hosts/profitbricks-build9-amd64/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 } # 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 } # diff --git a/hosts/rpi2c-armhf-rb/etc/rc.local b/hosts/rpi2c-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/rpi2c-armhf-rb/etc/rc.local +++ b/hosts/rpi2c-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 } # diff --git a/hosts/wbd0-armhf-rb/etc/rc.local b/hosts/wbd0-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/wbd0-armhf-rb/etc/rc.local +++ b/hosts/wbd0-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 } # diff --git a/hosts/wbq0-armhf-rb/etc/rc.local b/hosts/wbq0-armhf-rb/etc/rc.local index 95f5f352..aa6bfefc 100755 --- a/hosts/wbq0-armhf-rb/etc/rc.local +++ b/hosts/wbq0-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 } # |