From 1390cf3254447d9acfc2c2b775dd57891019b674 Mon Sep 17 00:00:00 2001 From: Aron Griffis Date: Thu, 29 Jan 2004 01:37:23 +0000 Subject: update to netperf-2.2pl4 for bug 19463 --- net-analyzer/netperf/files/netperf-2.2-init | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 net-analyzer/netperf/files/netperf-2.2-init (limited to 'net-analyzer/netperf/files/netperf-2.2-init') diff --git a/net-analyzer/netperf/files/netperf-2.2-init b/net-analyzer/netperf/files/netperf-2.2-init new file mode 100644 index 000000000000..c6fed548f912 --- /dev/null +++ b/net-analyzer/netperf/files/netperf-2.2-init @@ -0,0 +1,21 @@ +#!/sbin/runscript +# +# init.d script for net-analyzer/netperf's netserver +# + +depend() { + use net +} + +start() { + ebegin 'Starting netperf server (netserver)' + start-stop-daemon --start --quiet --chuid nobody \ + --exec /usr/sbin/netserver -- ${NETSERVER_ARGS} >/dev/null + eend $? +} + +stop() { + ebegin 'Stopping netperf server (netserver)' + start-stop-daemon --stop --quiet --exec /usr/sbin/netserver + eend $? +} -- cgit v1.2.3-65-gdbad