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
Try attaching the initscript as a text/plain attachment, not pasted inline.
Created attachment 43007 [details] The initi script as an attachment ...
Fixed.