SOURCES: pcsc-lite-pcscd.init - merged from DEVEL

qboosh qboosh at pld-linux.org
Mon Mar 6 10:37:18 CET 2006


Author: qboosh                       Date: Mon Mar  6 09:37:18 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- merged from DEVEL

---- Files affected:
SOURCES:
   pcsc-lite-pcscd.init (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SOURCES/pcsc-lite-pcscd.init
diff -u SOURCES/pcsc-lite-pcscd.init:1.6 SOURCES/pcsc-lite-pcscd.init:1.7
--- SOURCES/pcsc-lite-pcscd.init:1.6	Thu Dec  8 02:02:49 2005
+++ SOURCES/pcsc-lite-pcscd.init	Mon Mar  6 10:37:12 2006
@@ -4,7 +4,13 @@
 #
 # chkconfig:	2345 12 88
 #
-# description:	daemon for pcsc-lite and musclecard framework
+# description: The PC/SC smart card daemon is a resource manager for the \
+#              PC/SC lite and Musclecard frameworks.  It coordinates \
+#              communications with smart card readers, smart cards, and \
+#              cryptographic tokens that are connected to the system.
+#
+# processname: pcscd
+# config:      /etc/reader.conf
 #
 # $Id$
 
@@ -12,6 +18,8 @@
 # Source function library
 . /etc/rc.d/init.d/functions
 
+umask 077
+
 # Set defaults
 LOGGING="yes"
 
@@ -19,7 +27,7 @@
 [ -f /etc/sysconfig/pcscd ] && . /etc/sysconfig/pcscd
 
 if is_yes "${LOGGING}"; then
-	LOGOPT="-d syslog"
+	LOGOPT="-d"
 else
 	LOGOPT=""
 fi
@@ -31,7 +39,7 @@
 	# Check if the service is already running?
 	if [ ! -f /var/lock/subsys/pcscd ]; then
 		msg_starting pcscd
-		daemon pcscd $LOGOPT
+		/usr/sbin/update-reader.conf && daemon pcscd $LOGOPT
 		RETVAL=$?
 		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/pcscd
 	else
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/pcsc-lite-pcscd.init?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list