From 95ac7d92bb5cf2db147d099cbb28f161f9483597 Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 14 Nov 2011 02:38:45 +0000 Subject: [PATCH] packages/restund: use new service functions git-svn-id: svn://svn.openwrt.org/openwrt/packages@29096 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/restund/Makefile | 2 +- net/restund/files/restund.init | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/net/restund/Makefile b/net/restund/Makefile index 656adfa82..3d2b13f9e 100644 --- a/net/restund/Makefile +++ b/net/restund/Makefile @@ -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/ diff --git a/net/restund/files/restund.init b/net/restund/files/restund.init index 2374a2795..d6360ff83 100644 --- a/net/restund/files/restund.init +++ b/net/restund/files/restund.init @@ -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 }