strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f455c7
)
auto-detect OS name
author
Riaan Kruger
<riaank@gmail.com>
Tue, 23 Aug 2011 05:54:15 +0000
(07:54 +0200)
committer
Andreas Steffen
<andreas.steffen@strongswan.org>
Tue, 23 Aug 2011 05:54:15 +0000
(07:54 +0200)
src/ipsec/ipsec.in
patch
|
blob
|
history
diff --git
a/src/ipsec/ipsec.in
b/src/ipsec/ipsec.in
index
9ab25ba
..
a501463
100755
(executable)
--- a/
src/ipsec/ipsec.in
+++ b/
src/ipsec/ipsec.in
@@
-19,6
+19,7
@@
PATH="/sbin:/bin:/usr/sbin:/usr/bin:@IPSEC_SBINDIR@"
export PATH
# name and version of the ipsec implementation
+OS_NAME=`uname -s`
IPSEC_NAME="@IPSEC_NAME@"
IPSEC_VERSION="U@IPSEC_VERSION@/K`uname -r`"
@@
-378,7
+379,7
@@
update)
fi
;;
version|--version)
- printf "
Linux
$IPSEC_NAME $IPSEC_VERSION\n"
+ printf "
$OS_NAME
$IPSEC_NAME $IPSEC_VERSION\n"
printf "$IPSEC_DISTRO\n"
printf "See 'ipsec --copyright' for copyright information.\n"
exit 0