Browse Source

Add support for strongSwan deploys in FreeBSD

Related to 8ea800205c2e5496b63e3244dc4849d629acc1ad
Jose Luis Duran 7 years ago
parent
commit
fac0beaa0a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      deploy/strongswan.sh

+ 2 - 0
deploy/strongswan.sh

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