packages/netperf: use new service functions

git-svn-id: svn://svn.openwrt.org/openwrt/packages@29050 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2011-11-13 22:15:27 +00:00
parent 2f3053ab28
commit 2713344ef8
2 changed files with 6 additions and 5 deletions

View 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
}