浏览代码

Add support for strongSwan deploys in FreeBSD

Related to 8ea800205c2e5496b63e3244dc4849d629acc1ad
Jose Luis Duran 7 年之前
父节点
当前提交
fac0beaa0a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      deploy/strongswan.sh

+ 2 - 0
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