From: root Date: Sat, 7 Jan 2017 09:48:54 +0000 (+0100) Subject: saving uncommitted changes in /etc prior to emerge run X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=a1a0df6b41d2f870998fe5b4cb9fa79454821c60;p=config%2Fhelga%2Fetc.git saving uncommitted changes in /etc prior to emerge run --- diff --git a/.etckeeper b/.etckeeper index fc72d74..7eb4e33 100755 --- a/.etckeeper +++ b/.etckeeper @@ -423,6 +423,7 @@ maybe chmod 0644 'conf.d/hwclock' maybe chmod 0644 'conf.d/icinga' maybe chmod 0644 'conf.d/ido2db' maybe chmod 0644 'conf.d/ip6tables' +maybe chmod 0644 'conf.d/iperf3' maybe chmod 0644 'conf.d/ipmievd' maybe chmod 0644 'conf.d/iptables' maybe chmod 0644 'conf.d/keymaps' @@ -1661,6 +1662,7 @@ maybe chmod 0755 'init.d/hwclock' maybe chmod 0755 'init.d/icinga' maybe chmod 0755 'init.d/ido2db' maybe chmod 0755 'init.d/ip6tables' +maybe chmod 0755 'init.d/iperf3' maybe chmod 0755 'init.d/ipmievd' maybe chmod 0755 'init.d/iptables' maybe chmod 0755 'init.d/keymaps' diff --git a/conf.d/iperf3 b/conf.d/iperf3 new file mode 100644 index 0000000..01bd473 --- /dev/null +++ b/conf.d/iperf3 @@ -0,0 +1,6 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# extra options (run iperf -h for a list of supported options) +IPERF_OPTS="--format Mbytes" diff --git a/init.d/iperf3 b/init.d/iperf3 new file mode 100755 index 0000000..bb79f15 --- /dev/null +++ b/init.d/iperf3 @@ -0,0 +1,11 @@ +#!/sbin/openrc-run +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +description="IP bandwidth measurement server" +command="/usr/bin/iperf3" + +command_background="yes" +pidfile="/run/${SVCNAME}.pid" +command_args="-s ${IPERF_OPTS}"