git-svn-id: svn://svn.openwrt.org/openwrt/branches/packages_10.03.2@30278
3c298f89-4303-0410-b956-
a3cf2f4a3e73
-# Copyright (C) 2010 OpenWrt.org
+# Copyright (C) 2010-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
PKG_NAME:=vpzone
PKG_VERSION:=0.1.2
PKG_NAME:=vpzone
PKG_VERSION:=0.1.2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/vpzone
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/vpzone
+# Copyright (C) 2010-2011 OpenWrt.org
-DAEMON=vpzone
-PID_F=/var/run/$DAEMON.pid
+
+SERVICE_DAEMONIZE=1
+SERVICE_WRITE_PID=1
- start-stop-daemon -p $PID_F -x $DAEMON -S -b -m
+ service_start /usr/bin/vpzone
- start-stop-daemon -p $PID_F -x $DAEMON -K
+ service_stop /usr/bin/vpzone