Add support for strongSwan deploys in FreeBSD

Related to 8ea800205c
This commit is contained in:
Jose Luis Duran 2018-02-16 11:23:10 -02:00
parent d5865989cf
commit fac0beaa0a
No known key found for this signature in database
GPG Key ID: 8BE8242E460537F4

View File

@ -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