debian/pcscd.init: create $IPCDIR with correct access rights
This commit is contained in:
parent
15bb1a7cb4
commit
982a1abdb3
|
@ -3,8 +3,9 @@ pcsc-lite (1.6.5-1) experimental; urgency=low
|
|||
* New upstream release
|
||||
* debian/rules: do not install pcscd suid root
|
||||
* debian/pcscd.lintian-overrides: removed since no more lintian warnings
|
||||
* debian/pcscd.init: create $IPCDIR with correct access rights
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sat, 04 Dec 2010 16:54:13 +0100
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sat, 04 Dec 2010 17:08:21 +0100
|
||||
|
||||
pcsc-lite (1.6.4-1) experimental; urgency=low
|
||||
|
||||
|
|
|
@ -24,13 +24,20 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
|||
DESC="PCSC Lite resource manager"
|
||||
NAME=pcscd
|
||||
DAEMON=/usr/sbin/$NAME
|
||||
PIDFILE=/var/run/pcscd/$NAME.pid
|
||||
IPCDIR=/var/run/pcscd
|
||||
PIDFILE=$IPCDIR/$NAME.pid
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
|
||||
# if you need to pass arguments to pcscd you should edit the file
|
||||
# /etc/default/pcscd and add a line
|
||||
# DAEMON_ARGS="--your-option"
|
||||
|
||||
# create $IPCDIR with correct access rights
|
||||
rm -rf $IPCDIR
|
||||
mkdir $IPCDIR
|
||||
chgrp pcscd $IPCDIR
|
||||
chmod g+w $IPCDIR
|
||||
|
||||
# DO NOT start the daemon on startup
|
||||
# comment the line to have the same behavior as in version < 1.6.0
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue