Subversion Repositories configs

Rev

Rev 4 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 34
Line 34... Line 34...
34
umask 077
34
umask 077
35
 
35
 
36
exec=/usr/sbin/pcscd
36
exec=/usr/sbin/pcscd
37
prog=$(basename $exec)
37
prog=$(basename $exec)
38
lockfile=/var/lock/subsys/$prog
38
lockfile=/var/lock/subsys/$prog
-
 
39
socket=/var/run/pcscd.comm
-
 
40
mapfile=/var/run/pcscd.pub
39
PCSCD_OPTIONS=
41
PCSCD_OPTIONS=
40
 
42
 
41
# Source config
43
# Source config
42
if [ -f /etc/sysconfig/pcscd ] ; then
44
if [ -f /etc/sysconfig/pcscd ] ; then
43
    . /etc/sysconfig/pcscd
45
    . /etc/sysconfig/pcscd
Line 55... Line 57...
55
    echo -n $"Stopping PC/SC smart card daemon ($prog): "
57
    echo -n $"Stopping PC/SC smart card daemon ($prog): "
56
    killproc $prog
58
    killproc $prog
57
    retval=$?
59
    retval=$?
58
    echo
60
    echo
59
    [ $retval -eq 0 ] && rm -f $lockfile
61
    [ $retval -eq 0 ] && rm -f $lockfile
-
 
62
    rm -f $socket $mapfile
60
    return $retval
63
    return $retval
61
}
64
}
62
restart() {
65
restart() {
63
    stop
66
    stop
64
    start
67
    start