Browse Source
Merge pull request #1273 from jlduran/add-strongswan-freebsd
Add support for strongSwan deploys in FreeBSD
dnsconf
neil
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
deploy/strongswan.sh
|
@ -22,6 +22,8 @@ strongswan_deploy() { |
|
|
_ipsec=/usr/sbin/ipsec |
|
|
_ipsec=/usr/sbin/ipsec |
|
|
elif [ -x /usr/sbin/strongswan ]; then |
|
|
elif [ -x /usr/sbin/strongswan ]; then |
|
|
_ipsec=/usr/sbin/strongswan |
|
|
_ipsec=/usr/sbin/strongswan |
|
|
|
|
|
elif [ -x /usr/local/sbin/ipsec ]; then |
|
|
|
|
|
_ipsec=/usr/local/sbin/ipsec |
|
|
else |
|
|
else |
|
|
_err "no strongswan or ipsec command is detected" |
|
|
_err "no strongswan or ipsec command is detected" |
|
|
return 1 |
|
|
return 1 |
|
|