diff options
author | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2007-07-04 23:47:20 +0000 |
---|---|---|
committer | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2007-07-04 23:47:20 +0000 |
commit | 7b0305f59ddab9ea026b202a8c569912e5bf9a90 (patch) | |
tree | 131d39a22cf97e9e8c6da58ddefabc8138a731c2 /src/ipsec/ipsec.in | |
parent | 08ee5250bd9c43fda5f24d10b791ca2c4c17fcee (diff) | |
download | vyos-strongswan-7b0305f59ddab9ea026b202a8c569912e5bf9a90.tar.gz vyos-strongswan-7b0305f59ddab9ea026b202a8c569912e5bf9a90.zip |
[svn-upgrade] Integrating new upstream version, strongswan (4.1.4)
Diffstat (limited to 'src/ipsec/ipsec.in')
-rwxr-xr-x | src/ipsec/ipsec.in | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/ipsec/ipsec.in b/src/ipsec/ipsec.in index 067d24784..e4cedd09a 100755 --- a/src/ipsec/ipsec.in +++ b/src/ipsec/ipsec.in @@ -36,8 +36,7 @@ IPSEC_STARTER="${IPSEC_DIR}/starter" export IPSEC_DIR IPSEC_SBINDIR IPSEC_CONFDIR IPSEC_PIDDIR IPSEC_VERSION IPSEC_NAME IPSEC_STARTER_PID IPSEC_PLUTO_PID IPSEC_CHARON_PID -IPSEC_DISTRO="Institute for Internet Technologies and Applications\n - University of Applied Sciences Rapperswil, Switzerland" +IPSEC_DISTRO="Institute for Internet Technologies and Applications\nUniversity of Applied Sciences Rapperswil, Switzerland" case "$1" in '') @@ -82,10 +81,6 @@ case "$1" in echo "$IPSEC_VERSION" exit 0 ;; ---copyright) - set _copyright - # and fall through, invoking "ipsec _copyright" - ;; --directory) echo "$IPSEC_DIR" exit 0 @@ -94,6 +89,10 @@ case "$1" in echo "$IPSEC_CONFDIR" exit 0 ;; +copyright|--copyright) + set _copyright + # and fall through, invoking "ipsec _copyright" + ;; down) shift if [ "$#" -ne 1 ] @@ -266,8 +265,8 @@ update) ;; version|--version) echo "Linux $IPSEC_NAME $IPSEC_VERSION" + echo -e $IPSEC_DISTRO echo "See \`ipsec --copyright' for copyright information." - echo $IPSEC_DISTRO exit 0 ;; --*) |