Fix "invoke-rc.d pcscd start starts the daemon again if allready

running" do not remove /var/run/pcscd/ if already present (Closes: #666465)
This commit is contained in:
Ludovic Rousseau 2012-03-31 16:14:15 +00:00
parent 5cf19e73cd
commit 5032f25722
2 changed files with 12 additions and 2 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
pcsc-lite (1.8.3-2) unstable; urgency=low
* Fix "invoke-rc.d pcscd start starts the daemon again if allready
running" do not remove /var/run/pcscd/ if already present (Closes: #666465)
-- Ludovic Rousseau <rousseau@debian.org> Sat, 31 Mar 2012 18:07:01 +0200
pcsc-lite (1.8.3-1) unstable; urgency=low
* New upstream release

7
debian/pcscd.init vendored
View File

@ -67,8 +67,11 @@ eval LANG=$value
do_start()
{
# create $IPCDIR with correct access rights
rm -rf $IPCDIR
mkdir $IPCDIR
if [ ! -d $IPCDIR ]
then
rm -rf $IPCDIR
mkdir $IPCDIR
fi
chgrp pcscd $IPCDIR
chmod 0775 $IPCDIR