packages/kissdx: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28965 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
480a8d9dc1
commit
9e4c97e67d
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2009 OpenWrt.org
|
# Copyright (C) 2009-2011 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=kissdx
|
PKG_NAME:=kissdx
|
||||||
PKG_VERSION:=0.14.0.b1a
|
PKG_VERSION:=0.14.0.b1a
|
||||||
PKG_RELEASE:=7
|
PKG_RELEASE:=8
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
|
||||||
PKG_SOURCE_URL:=http://kissdx.vidartysse.net
|
PKG_SOURCE_URL:=http://kissdx.vidartysse.net
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2008 OpenWrt.org
|
||||||
|
|
||||||
START=65
|
START=65
|
||||||
|
|
||||||
|
SERVICE_USE_PID=1
|
||||||
|
|
||||||
CFGFILE=/tmp/kissdx.conf
|
CFGFILE=/tmp/kissdx.conf
|
||||||
|
|
||||||
create_configfile() {
|
create_configfile() {
|
||||||
@ -98,9 +101,9 @@ create_configfile() {
|
|||||||
start () {
|
start () {
|
||||||
config_load kissdx
|
config_load kissdx
|
||||||
create_configfile
|
create_configfile
|
||||||
/usr/bin/kissdx -c $CFGFILE -d
|
service_start /usr/bin/kissdx -c $CFGFILE -d
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
killall -9 kissdx
|
service_stop /usr/bin/kissdx
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user