summaryrefslogtreecommitdiff
path: root/package/netperf
diff options
context:
space:
mode:
Diffstat (limited to 'package/netperf')
-rw-r--r--package/netperf/files/netserver.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/netperf/files/netserver.init b/package/netperf/files/netserver.init
index eea806a67..67a9e36d6 100644
--- a/package/netperf/files/netserver.init
+++ b/package/netperf/files/netserver.init
@@ -11,10 +11,10 @@ autostart)
exec sh $0 start
;;
start)
- netserver
+ /usr/sbin/netserver
;;
stop)
- pkill netserver
+ kill $(pgrep -f /usr/sbin/netserver)
;;
restart)
sh $0 stop