- Also list 'reload' and 'force-reload' in "Usage: ...".

This commit is contained in:
Michal Schmidt 2010-02-08 10:14:26 +00:00
parent 9f98d22e79
commit f86e736e8c
2 changed files with 8 additions and 4 deletions

View File

@ -36,7 +36,7 @@ Index: opencryptoki-2.3.1/misc/pkcsslotd.in
[ $RETVAL -eq 0 ] && rm -f $LOCKFILE [ $RETVAL -eq 0 ] && rm -f $LOCKFILE
return $RETVAL return $RETVAL
} }
@@ -73,7 +74,7 @@ case "$1" in @@ -73,15 +74,15 @@ case "$1" in
status) status)
status pkcsslotd $SLOTDBIN status pkcsslotd $SLOTDBIN
;; ;;
@ -45,11 +45,12 @@ Index: opencryptoki-2.3.1/misc/pkcsslotd.in
restart restart
;; ;;
condrestart) condrestart)
@@ -81,7 +82,7 @@ case "$1" in [ -f $LOCKFILE ] && restart || :
;; ;;
*) *)
echo $"Usage: $0 {start|stop|status|restart|condrestart}" - echo $"Usage: $0 {start|stop|status|restart|condrestart}"
- exit 1 - exit 1
+ echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|force-reload}"
+ exit 2 + exit 2
esac esac

View File

@ -1,7 +1,7 @@
Name: opencryptoki Name: opencryptoki
Summary: Implementation of the PKCS#11 (Cryptoki) specification v2.11 Summary: Implementation of the PKCS#11 (Cryptoki) specification v2.11
Version: 2.3.1 Version: 2.3.1
Release: 2%{?dist} Release: 3%{?dist}
License: CPL License: CPL
Group: System Environment/Base Group: System Environment/Base
URL: http://sourceforge.net/projects/opencryptoki URL: http://sourceforge.net/projects/opencryptoki
@ -139,6 +139,9 @@ exit 0
%changelog %changelog
* Mon Feb 08 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-3
- Also list 'reload' and 'force-reload' in "Usage: ...".
* Mon Feb 08 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-2 * Mon Feb 08 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-2
- Support 'force-reload' in the initscript. - Support 'force-reload' in the initscript.