ipsec: Add --piddir to retrieve the PID/socket directory
authorTobias Brunner <tobias@strongswan.org>
Mon, 22 Jul 2013 16:12:04 +0000 (18:12 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 22 Jul 2013 16:12:04 +0000 (18:12 +0200)
src/ipsec/_ipsec.8.in
src/ipsec/_ipsec.in

index a190fa5..4cbc896 100644 (file)
@@ -1,4 +1,4 @@
-.TH @IPSEC_SCRIPT_UPPER@ 8 "2012-06-19" "@IPSEC_VERSION@" "strongSwan"
+.TH @IPSEC_SCRIPT_UPPER@ 8 "2013-07-22" "@IPSEC_VERSION@" "strongSwan"
 .SH NAME
 @IPSEC_SCRIPT@ \- invoke IPsec utilities
 .SH SYNOPSIS
@@ -259,6 +259,10 @@ returns the \fILIBEXECDIR\fP directory as defined by the configure options.
 .TP
 .B "\-\-confdir"
 returns the \fISYSCONFDIR\fP directory as defined by the configure options.
+.PP
+.TP
+.B "\-\-piddir"
+returns the \fIPIDDIR\fP directory as defined by the configure options.
 .SH FILES
 /usr/local/lib/ipsec   usual utilities directory
 .SH ENVIRONMENT
@@ -274,7 +278,7 @@ command sets them if they are not already set.
 IPSEC_DIR               directory containing ipsec programs and utilities
 IPSEC_SBINDIR           directory containing \fBipsec\fP command
 IPSEC_CONFDIR           directory containing configuration files
-IPSEC_PIDDIR            directory containing PID files
+IPSEC_PIDDIR            directory containing PID/socket files
 IPSEC_SCRIPT            name of the ipsec script
 IPSEC_NAME              name of ipsec distribution
 IPSEC_VERSION           version numer of ipsec userland and kernel
index 3742b12..03ddb74 100644 (file)
@@ -76,7 +76,7 @@ case "$1" in
        echo "  version"
        echo "  stroke"
        echo
-       echo "Some of these functions have their own manual pages, e.g. ipsec_scepclient(8)."
+       echo "Some of these functions have their own manual pages, e.g. scepclient(8)."
        exit 0
        ;;
 --versioncode)
@@ -91,6 +91,10 @@ case "$1" in
        echo "$IPSEC_CONFDIR"
        exit 0
        ;;
+--piddir)
+       echo "$IPSEC_PIDDIR"
+       exit 0
+       ;;
 copyright|--copyright)
        set _copyright
        # and fall through, invoking "ipsec _copyright"