packages/pcsc-lite: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28944 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4703102a85
commit
6f29b869f8
@ -1,8 +1,15 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2009-2011 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=pcsc-lite
|
PKG_NAME:=pcsc-lite
|
||||||
PKG_VERSION:=1.5.5
|
PKG_VERSION:=1.5.5
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://alioth.debian.org/frs/download.php/3082
|
PKG_SOURCE_URL:=http://alioth.debian.org/frs/download.php/3082
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
#!/bin/sh /etc/rc.common
|
#!/bin/sh /etc/rc.common
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2009-2011 OpenWrt.org
|
||||||
|
|
||||||
START=50
|
START=50
|
||||||
|
|
||||||
|
SERVICE_PID_FILE=/var/run/pcscd/pcscd.pid
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
pcscd
|
service_start /usr/sbin/pcscd
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
killall pcscd
|
service_stop /usr/sbin/pcscd
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user