[packages_10.03.2] netperf: merge r29050
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 5 Feb 2012 15:34:04 +0000 (15:34 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 5 Feb 2012 15:34:04 +0000 (15:34 +0000)
SVN-Revision: 30226

net/netperf/Makefile
net/netperf/files/netserver.init

index 09f0633b36165c49f51d206e974bc46a984ce9ec..815853e304a88abcc6ce1ab169928c6192aba622 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2009 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=netperf
 PKG_VERSION:=2.4.5
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=ftp://ftp.netperf.org/netperf/
index 6d3ccdddeb2dc66db2d0a7060b032ce44671b0e5..42fcf33571a48ba3d3c3f9747eb23c5ddd3d5fe5 100644 (file)
@@ -1,11 +1,12 @@
 #!/bin/sh /etc/rc.common
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
+
 START=50
 
 start() {
-       /usr/bin/netserver
+       service_start /usr/bin/netserver
 }
 
 stop() {
-       killall netserver
+       service_stop /usr/bin/netserver
 }