]> Frank Brehm's Git Trees - config/uhu1/etc.git/commitdiff
committing changes in /etc after emerge run
authorfrank <frank@uhu1.uhu-banane.de>
Sun, 29 Jan 2012 09:24:22 +0000 (10:24 +0100)
committerroot <root@uhu1.uhu-banane.de>
Sun, 29 Jan 2012 09:24:22 +0000 (10:24 +0100)
Package changes:
+net-misc/iperf-2.0.5

.etckeeper
conf.d/iperf [new file with mode: 0644]
init.d/iperf [new file with mode: 0755]

index f81929780d297d5fe63c1757f9ab51b19b54e291..52d267280289819640986ca3c8e1984fe1614824 100755 (executable)
@@ -126,6 +126,7 @@ maybe chmod 0644 './conf.d/gpm'
 maybe chmod 0644 './conf.d/hostname'
 maybe chmod 0644 './conf.d/hwclock'
 maybe chmod 0644 './conf.d/ip6tables'
+maybe chmod 0644 './conf.d/iperf'
 maybe chmod 0644 './conf.d/iptables'
 maybe chmod 0644 './conf.d/keymaps'
 maybe chmod 0644 './conf.d/killprocs'
@@ -546,6 +547,7 @@ maybe chmod 0755 './init.d/gpm'
 maybe chmod 0755 './init.d/hostname'
 maybe chmod 0755 './init.d/hwclock'
 maybe chmod 0755 './init.d/ip6tables'
+maybe chmod 0755 './init.d/iperf'
 maybe chmod 0755 './init.d/iptables'
 maybe chmod 0755 './init.d/keymaps'
 maybe chmod 0755 './init.d/killprocs'
diff --git a/conf.d/iperf b/conf.d/iperf
new file mode 100644 (file)
index 0000000..adf2389
--- /dev/null
@@ -0,0 +1,6 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/iperf/files/iperf.confd,v 1.1 2005/01/23 10:52:13 ka0ttic Exp $
+
+# extra options (run iperf -h for a list of supported options)
+IPERF_OPTS="--format Mbytes"
diff --git a/init.d/iperf b/init.d/iperf
new file mode 100755 (executable)
index 0000000..968257c
--- /dev/null
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/iperf/files/iperf.initd,v 1.2 2005/01/23 10:52:13 ka0ttic Exp $
+
+depend() {
+       need net
+}
+
+start() {
+       ebegin "Starting iperf server"
+       start-stop-daemon --start --quiet \
+               --exec /usr/bin/iperf -- -s -D ${IPERF_OPTS} &>/dev/null
+       eend $?
+}
+
+stop() {
+       ebegin "Shutting down iperf server"
+       start-stop-daemon --stop --quiet --exec /usr/bin/iperf
+       eend $?
+}