support for stroke listcerts|listcacerts|listcrls|listall
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 12 Jun 2006 08:47:28 +0000 (08:47 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 12 Jun 2006 08:47:28 +0000 (08:47 -0000)
src/ipsec/ipsec.in

index 7ed1286..26c6eb2 100755 (executable)
@@ -111,9 +111,9 @@ down)
        fi
        exit 0
        ;;
-listalgs|listpubkeys|listcacerts|listaacerts|\
+listalgs|listpubkeys|listaacerts|\
 listocspcerts|listacerts|listgroups|\
-listcainfos|listcrls|listocsp|listcards|\
+listcainfos|listocsp|listcards|\
 purgeocsp|rereadsecrets|rereadgroups|\
 rereadcacerts|rereadaacerts|rereadocspcerts|\
 rereadacerts|rereadcrls|rereadall)
@@ -124,7 +124,7 @@ rereadacerts|rereadcrls|rereadall)
                $IPSEC_WHACK "$@" "--$op"
        fi
        ;;
-listcerts|listall)
+listcerts|listcacerts|listcrls|listall)
        op="$1"
        shift
        if test -e $IPSEC_PLUTO_PID
@@ -133,7 +133,7 @@ listcerts|listall)
        fi
        if test -e $IPSEC_CHARON_PID
        then
-               $IPSEC_STROKE "$op"
+               $IPSEC_STROKE "$op" "$@"
        fi
        exit 0
        ;;