packages/opennhrp: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28914 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3e02a5af65
commit
165e58e9ad
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2009-2010 OpenWrt.org
|
||||
# Copyright (C) 2009-2011 OpenWrt.org
|
||||
# Copyright (C) 2009 Jakob Pfeiffer
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=opennhrp
|
||||
PKG_VERSION:=0.12.3
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=@SF/opennhrp
|
||||
|
@ -1,13 +1,15 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2009 OpenWrt.org
|
||||
START=50
|
||||
# Copyright (C) 2009-2011 OpenWrt.org
|
||||
# Copyright (C) 2009 Jakob Pfeiffer
|
||||
|
||||
START=50
|
||||
|
||||
SERVICE_USE_PID=1
|
||||
|
||||
start() {
|
||||
/usr/sbin/opennhrp -d
|
||||
service_start /usr/sbin/opennhrp -d
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall opennhrp
|
||||
service_stop /usr/sbin/opennhrp
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user