If systemd is used then do not start pcscd at boot but on demand
http://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html
This commit is contained in:
parent
cd45894a2f
commit
e0af461603
|
@ -1,3 +1,10 @@
|
||||||
|
pcsc-lite (1.8.1-4) unstable; urgency=low
|
||||||
|
|
||||||
|
* If systemd is used then do not start pcscd at boot but on demand
|
||||||
|
http://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html
|
||||||
|
|
||||||
|
-- Ludovic Rousseau <rousseau@debian.org> Sat, 03 Dec 2011 14:45:35 +0100
|
||||||
|
|
||||||
pcsc-lite (1.8.1-3) unstable; urgency=low
|
pcsc-lite (1.8.1-3) unstable; urgency=low
|
||||||
|
|
||||||
* debian/{control,rules}: do not Build-Depends: on systemd but use
|
* debian/{control,rules}: do not Build-Depends: on systemd but use
|
||||||
|
|
|
@ -41,6 +41,14 @@ SCRIPTNAME=/etc/init.d/$NAME
|
||||||
# Load the VERBOSE setting and other rcS variables
|
# Load the VERBOSE setting and other rcS variables
|
||||||
. /lib/init/vars.sh
|
. /lib/init/vars.sh
|
||||||
|
|
||||||
|
# Do not start at boot using systemd but start using on-demand
|
||||||
|
# http://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html
|
||||||
|
if [ $1 = "start" -a -d /sys/fs/cgroup/systemd ]
|
||||||
|
then
|
||||||
|
# Do not start from this script
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
# Define LSB log_* functions.
|
# Define LSB log_* functions.
|
||||||
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
|
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
|
||||||
. /lib/lsb/init-functions
|
. /lib/lsb/init-functions
|
||||||
|
|
Loading…
Reference in New Issue