On Mon, Aug 11, 2008 at 3:58 AM, Eric Dorland <[EMAIL PROTECTED]> wrote: > Hello list,
Hello Eric and Wouter, > A debian user pointed this out bug and it's actually a bug in the init > script exiting with status 1 when you call stop and it's already > stopped. This is against the LSB standard as well > (http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html). > > Attached is a patch to fix this (and abstracts things a bit). You patch conflicts with changeset 1047 [1]. I propose this (untested) patch instead: --- init-script.in (révision 1073) +++ init-script.in (copie de travail) @@ -32,7 +32,9 @@ case "$1" in ;; stop) echo -n "Stopping $DESC: $NAME " - $DAEMON shutdown + if [ -f "@OPENCT_SOCKET_PATH@"/status ] ; then + $DAEMON shutdown + fi echo "." ;; #reload) PS: latest OpenCT is 0.6.15. Debian unstable has 0.6.14 Bye [1] http://www.opensc-project.org/openct/changeset/1047 -- Dr. Ludovic Rousseau _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel