]> Frank Brehm's Git Trees - config/helga/etc.git/commitdiff
saving uncommitted changes in /etc prior to emerge run
authorroot <root@helga.brehm-online.com>
Sat, 7 Jan 2017 09:48:54 +0000 (10:48 +0100)
committerroot <root@helga.brehm-online.com>
Sat, 7 Jan 2017 09:48:54 +0000 (10:48 +0100)
.etckeeper
conf.d/iperf3 [new file with mode: 0644]
init.d/iperf3 [new file with mode: 0755]

index fc72d74532f58078071e709d99a51cde55581802..7eb4e3382a94bfdf38038763d821f9d59f9587fc 100755 (executable)
@@ -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 (file)
index 0000000..01bd473
--- /dev/null
@@ -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 (executable)
index 0000000..bb79f15
--- /dev/null
@@ -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}"