aboutsummaryrefslogtreecommitdiffstats
path: root/src/ipsec
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-07-22 18:12:04 +0200
committerTobias Brunner <tobias@strongswan.org>2013-07-22 18:12:04 +0200
commit5b1e3d3fdc73acb7941270311974b7643be362cf (patch)
tree38ccb262421b16e53757c97b4568cbb261d6bdc3 /src/ipsec
parent517823b4667947546a0ff0bdee0e8f9eb24e307d (diff)
downloadstrongswan-5b1e3d3fdc73acb7941270311974b7643be362cf.tar.bz2
strongswan-5b1e3d3fdc73acb7941270311974b7643be362cf.tar.xz
ipsec: Add --piddir to retrieve the PID/socket directory
Diffstat (limited to 'src/ipsec')
-rw-r--r--src/ipsec/_ipsec.8.in8
-rw-r--r--src/ipsec/_ipsec.in6
2 files changed, 11 insertions, 3 deletions
diff --git a/src/ipsec/_ipsec.8.in b/src/ipsec/_ipsec.8.in
index a190fa568..4cbc89686 100644
--- a/src/ipsec/_ipsec.8.in
+++ b/src/ipsec/_ipsec.8.in
@@ -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
diff --git a/src/ipsec/_ipsec.in b/src/ipsec/_ipsec.in
index 3742b12c7..03ddb744d 100644
--- a/src/ipsec/_ipsec.in
+++ b/src/ipsec/_ipsec.in
@@ -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"