packages/restund: use new service functions

git-svn-id: svn://svn.openwrt.org/openwrt/packages@29096 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2011-11-14 02:38:45 +00:00
parent 1a0b18f7f6
commit 95ac7d92bb
2 changed files with 3 additions and 5 deletions

View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=restund
PKG_VERSION:=0.3.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.creytiv.com/pub/

View File

@ -5,13 +5,11 @@
#
START=60
BIN=restund
OPTIONS=
start() {
start-stop-daemon -S -q -x $BIN -- $OPTIONS
service_start /usr/sbin/restund
}
stop() {
start-stop-daemon -K -q -x $BIN
service_stop /usr/sbin/restund
}