summaryrefslogtreecommitdiff
path: root/testing/hosts/moon/etc/rc.local
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2013-02-07 13:27:27 +0100
committerYves-Alexis Perez <corsac@debian.org>2013-02-07 13:27:27 +0100
commitb4f62acfae5e58d8bbdb5a2f3a4d22dc7a47f8af (patch)
tree6a9ea7adf70239d85185a20f7d5878cfe95f8070 /testing/hosts/moon/etc/rc.local
parent6307450b402e3c4a901fb8c0e54d8ad583ce2118 (diff)
parent7585facf05d927eb6df3929ce09ed5e60d905437 (diff)
downloadvyos-strongswan-b4f62acfae5e58d8bbdb5a2f3a4d22dc7a47f8af.tar.gz
vyos-strongswan-b4f62acfae5e58d8bbdb5a2f3a4d22dc7a47f8af.zip
Merge tag 'upstream/5.0.2'
Upstream version 5.0.2
Diffstat (limited to 'testing/hosts/moon/etc/rc.local')
-rwxr-xr-xtesting/hosts/moon/etc/rc.local20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/hosts/moon/etc/rc.local b/testing/hosts/moon/etc/rc.local
new file mode 100755
index 000000000..8649a2bcb
--- /dev/null
+++ b/testing/hosts/moon/etc/rc.local
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+#
+# rc.local
+#
+# This script is executed at the end of each multiuser runlevel.
+# Make sure that the script will "exit 0" on success or any other
+# value on error.
+#
+# In order to enable or disable this script just change the execution
+# bits.
+#
+
+# Disable checksum offloading on eth1 because it does not currently work with
+# libvirt and isc-dhcp-server running on venus, see [1]
+# [1] - https://bugs.mageia.org/show_bug.cgi?id=1243
+
+ethtool --offload eth1 tx off >/dev/null 2>&1
+ethtool --offload eth1 rx off >/dev/null 2>&1
+
+exit 0