#
-# Copyright (C) 2009 OpenWrt.org
+# Copyright (C) 2009-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
PKG_NAME:=kissdx
PKG_VERSION:=0.14.0.b1a
-PKG_RELEASE:=7
+PKG_RELEASE:=9
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
PKG_SOURCE_URL:=http://kissdx.vidartysse.net
$(INSTALL_BIN) ./files/kissdx.init $(1)/etc/init.d/kissdx
endef
+define Package/kissdx/conffiles
+/etc/config/kissdx
+endef
+
$(eval $(call BuildPackage,kissdx))
# Copyright (C) 2008 OpenWrt.org
START=65
+
+SERVICE_USE_PID=1
+
CFGFILE=/tmp/kissdx.conf
create_configfile() {
start () {
config_load kissdx
create_configfile
- /usr/bin/kissdx -c $CFGFILE -d
+ service_start /usr/bin/kissdx -c $CFGFILE -d
}
stop() {
- killall -9 kissdx
+ service_stop /usr/bin/kissdx
}