logo       

pcscd and chkconfig: msg#00042

lib.muscle

Subject: pcscd and chkconfig

Hi,

it seems on RedHat (7.3) systems pcscd does not get recognized by chkconfig and
serviceconf utilities. The start/stop script is there, it works with manual
start/stop, and manual sym links in /etc/rcX.d/.
By the way, chkconfig --add complains about pcscd not being a recognized service.

I verified that changing the pcscd script to the following solves the problem,
and also enables serviceconf to recognize it correctly (and to print out
the dummies-useful description).

I don't know if this can be useful to others, too.

Bye,
Tommaso.

------ /etc/init.d/pcscd, alias pcsc-lite-1.2.0/etc/pcscd.startup -----

#!/bin/bash
#
# pcscd Starts the pcscd Daemon
#
# chkconfig: 2345 12 88
# description: PCSC Smart Card Daemon
#
# processname: pcscd
# config: /etc/reader.conf
.....


--
,------------------------------------------------.
| Dr. Tommaso Cucinotta <t.cucinotta@xxxxxxxx> |
>------------------------------------------------<
! Scuola Superiore di Studi Universitari !
! e Perfezionamento S.Anna !
! Pisa Italy !
`------------------------------------------------'


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise