Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69609 - "iperf" can run as server - the init script for it is missing
Summary: "iperf" can run as server - the init script for it is missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2004-10-31 05:07 UTC by Thomas Bullinger
Modified: 2005-01-21 15:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The initi script as an attachment ... (iperfd,390 bytes, text/plain)
2004-10-31 06:39 UTC, Thomas Bullinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bullinger 2004-10-31 05:07:07 UTC
I started experimenting with iperf - a nice little measuring tool for network throughput.  Unfortunately it is missing an init script for server mode - so I wrote one.


Reproducible: Always
Steps to Reproduce:




The init script is small - here it is:

#!/sbin/runscript
# Copyright 2004 B-LUC Consulting and Thomas Bullinger
# Distributed under the terms of the GNU General Public License v2

start() {
        ebegin "Starting iperf Server"
        start-stop-daemon --start --quiet \
                --exec /usr/bin/iperf -- -s -D
        eend $?
}

stop() {
        ebegin "Shutting down iperf Server"
        start-stop-daemon --stop --quiet --exec /usr/bin/iperf
        eend $?
}

# vim:ts=4
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2004-10-31 06:35:16 UTC
Try attaching the initscript as a text/plain attachment, not pasted inline.
Comment 2 Thomas Bullinger 2004-10-31 06:39:44 UTC
Created attachment 43007 [details]
The initi script as an attachment ...
Comment 3 Aaron Walker (RETIRED) gentoo-dev 2005-01-21 15:46:03 UTC
Fixed.