ipsec: Add --piddir to retrieve the PID/socket directory
This commit is contained 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
|
.SH NAME
|
||||||
@IPSEC_SCRIPT@ \- invoke IPsec utilities
|
@IPSEC_SCRIPT@ \- invoke IPsec utilities
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@@ -259,6 +259,10 @@ returns the \fILIBEXECDIR\fP directory as defined by the configure options.
|
|||||||
.TP
|
.TP
|
||||||
.B "\-\-confdir"
|
.B "\-\-confdir"
|
||||||
returns the \fISYSCONFDIR\fP directory as defined by the configure options.
|
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
|
.SH FILES
|
||||||
/usr/local/lib/ipsec usual utilities directory
|
/usr/local/lib/ipsec usual utilities directory
|
||||||
.SH ENVIRONMENT
|
.SH ENVIRONMENT
|
||||||
@@ -274,7 +278,7 @@ command sets them if they are not already set.
|
|||||||
IPSEC_DIR directory containing ipsec programs and utilities
|
IPSEC_DIR directory containing ipsec programs and utilities
|
||||||
IPSEC_SBINDIR directory containing \fBipsec\fP command
|
IPSEC_SBINDIR directory containing \fBipsec\fP command
|
||||||
IPSEC_CONFDIR directory containing configuration files
|
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_SCRIPT name of the ipsec script
|
||||||
IPSEC_NAME name of ipsec distribution
|
IPSEC_NAME name of ipsec distribution
|
||||||
IPSEC_VERSION version numer of ipsec userland and kernel
|
IPSEC_VERSION version numer of ipsec userland and kernel
|
||||||
|
|||||||
+5
-1
@@ -76,7 +76,7 @@ case "$1" in
|
|||||||
echo " version"
|
echo " version"
|
||||||
echo " stroke"
|
echo " stroke"
|
||||||
echo
|
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
|
exit 0
|
||||||
;;
|
;;
|
||||||
--versioncode)
|
--versioncode)
|
||||||
@@ -91,6 +91,10 @@ case "$1" in
|
|||||||
echo "$IPSEC_CONFDIR"
|
echo "$IPSEC_CONFDIR"
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
--piddir)
|
||||||
|
echo "$IPSEC_PIDDIR"
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
copyright|--copyright)
|
copyright|--copyright)
|
||||||
set _copyright
|
set _copyright
|
||||||
# and fall through, invoking "ipsec _copyright"
|
# and fall through, invoking "ipsec _copyright"
|
||||||
|
|||||||
Reference in New Issue
Block a user