packages/baresip: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29171 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7a14389fa4
commit
74b4a18a59
@ -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/
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user