File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / strongswan / testing / hosts / moon / etc / rc.local
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 09:46:49 2020 UTC (4 years, 2 months ago) by misho
Branches: strongswan, MAIN
CVS tags: v5_9_2p0, v5_8_4p7, HEAD
Strongswan

#!/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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>