support for stroke listcerts|listcacerts|listcrls|listall

This commit is contained in:
Andreas Steffen
2006-06-12 08:47:28 +00:00
parent 5347233204
commit 64f4d91898
+4 -4
View File
@@ -111,9 +111,9 @@ down)
fi fi
exit 0 exit 0
;; ;;
listalgs|listpubkeys|listcacerts|listaacerts|\ listalgs|listpubkeys|listaacerts|\
listocspcerts|listacerts|listgroups|\ listocspcerts|listacerts|listgroups|\
listcainfos|listcrls|listocsp|listcards|\ listcainfos|listocsp|listcards|\
purgeocsp|rereadsecrets|rereadgroups|\ purgeocsp|rereadsecrets|rereadgroups|\
rereadcacerts|rereadaacerts|rereadocspcerts|\ rereadcacerts|rereadaacerts|rereadocspcerts|\
rereadacerts|rereadcrls|rereadall) rereadacerts|rereadcrls|rereadall)
@@ -124,7 +124,7 @@ rereadacerts|rereadcrls|rereadall)
$IPSEC_WHACK "$@" "--$op" $IPSEC_WHACK "$@" "--$op"
fi fi
;; ;;
listcerts|listall) listcerts|listcacerts|listcrls|listall)
op="$1" op="$1"
shift shift
if test -e $IPSEC_PLUTO_PID if test -e $IPSEC_PLUTO_PID
@@ -133,7 +133,7 @@ listcerts|listall)
fi fi
if test -e $IPSEC_CHARON_PID if test -e $IPSEC_CHARON_PID
then then
$IPSEC_STROKE "$op" $IPSEC_STROKE "$op" "$@"
fi fi
exit 0 exit 0
;; ;;