Merge pull request #1273 from jlduran/add-strongswan-freebsd

Add support for strongSwan deploys in FreeBSD
This commit is contained in:
neil 2018-02-17 11:43:42 +08:00 committed by GitHub
commit d43392628b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,8 @@ strongswan_deploy() {
_ipsec=/usr/sbin/ipsec
elif [ -x /usr/sbin/strongswan ]; then
_ipsec=/usr/sbin/strongswan
elif [ -x /usr/local/sbin/ipsec ]; then
_ipsec=/usr/local/sbin/ipsec
else
_err "no strongswan or ipsec command is detected"
return 1