debian/pcscd.init: do not start pcscd if systemd is used
This commit is contained in:
parent
891451029b
commit
c390675a6e
|
@ -3,8 +3,9 @@ pcsc-lite (1.8.1-1) unstable; urgency=low
|
|||
* New upstream release
|
||||
* debian/copyright: use Machine-readable DEP-5 format
|
||||
* debian/pcscd.init: Fix "init.d status support" (Closes: #644127)
|
||||
* debian/pcscd.init: do not start pcscd if systemd is used
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Fri, 25 Nov 2011 15:33:16 +0100
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Fri, 25 Nov 2011 15:40:48 +0100
|
||||
|
||||
pcsc-lite (1.7.4-2) unstable; urgency=low
|
||||
|
||||
|
|
|
@ -32,10 +32,6 @@ SCRIPTNAME=/etc/init.d/$NAME
|
|||
# /etc/default/pcscd and add a line
|
||||
# DAEMON_ARGS="--your-option"
|
||||
|
||||
# DO NOT start the daemon on startup
|
||||
# comment the line to have the same behavior as in version < 1.6.0
|
||||
exit 0
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x "$DAEMON" ] || exit 0
|
||||
|
||||
|
@ -68,6 +64,9 @@ do_start()
|
|||
chgrp pcscd $IPCDIR
|
||||
chmod g+w $IPCDIR
|
||||
|
||||
# do not start here if systemd is used
|
||||
test -d /sys/fs/cgroup/systemd && exit 0
|
||||
|
||||
# Return
|
||||
# 0 if daemon has been started
|
||||
# 1 if daemon was already running
|
||||
|
|
Loading…
Reference in New Issue