From 0c9d237a0bbee90d9bc4230a6022d6b4e8fe7422 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Wed, 16 Nov 2011 09:44:09 +0000 Subject: [PATCH] packages/baresip: use new service functions SVN-Revision: 29171 --- net/baresip/Makefile | 2 +- net/baresip/files/baresip.init | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/net/baresip/Makefile b/net/baresip/Makefile index 1340e4661d..c389ab87ac 100644 --- a/net/baresip/Makefile +++ b/net/baresip/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=baresip 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/baresip/files/baresip.init b/net/baresip/files/baresip.init index d0f5a24f81..e398595710 100644 --- a/net/baresip/files/baresip.init +++ b/net/baresip/files/baresip.init @@ -1,17 +1,14 @@ #!/bin/sh /etc/rc.common -# # Copyright (C) 2010-2011 OpenWrt.org # Copyright (C) 2010 Alfred E. Heggestad # START=92 -BIN=baresip -OPTIONS=-d start() { - start-stop-daemon -S -q -x $BIN -- $OPTIONS + service_start /usr/bin/baresip -d } stop() { - start-stop-daemon -K -q -x $BIN + service_stop /usr/bin/baresip } -- 2.30.2