Annotation of embedaddon/strongswan/testing/hosts/moon/etc/rc.local, revision 1.1

1.1     ! misho       1: #!/bin/sh -e
        !             2: #
        !             3: # rc.local
        !             4: #
        !             5: # This script is executed at the end of each multiuser runlevel.
        !             6: # Make sure that the script will "exit 0" on success or any other
        !             7: # value on error.
        !             8: #
        !             9: # In order to enable or disable this script just change the execution
        !            10: # bits.
        !            11: #
        !            12: 
        !            13: # Disable checksum offloading on eth1 because it does not currently work with
        !            14: # libvirt and isc-dhcp-server running on venus, see [1]
        !            15: # [1] - https://bugs.mageia.org/show_bug.cgi?id=1243
        !            16: 
        !            17: ethtool --offload eth1 tx off >/dev/null 2>&1
        !            18: ethtool --offload eth1 rx off >/dev/null 2>&1
        !            19: 
        !            20: exit 0

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