diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-22 18:59:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-22 18:59:24 +0000 |
commit | fe227c695931034d2440f335ea30dedf69c18cd4 (patch) | |
tree | 6cb1ce8a6c0854e30d794d3e4dec549e2b6f578c /etc | |
parent | 8022eaaafc67d39da423393c2ee16be878d509db (diff) | |
download | pfsense-fe227c695931034d2440f335ea30dedf69c18cd4.zip pfsense-fe227c695931034d2440f335ea30dedf69c18cd4.tar.gz |
Move setkey to /sbin/setkey from /usr/sbin/setkey due to FreeBSD changing the location.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vpn.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index d460b16..fe0528d 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -94,8 +94,8 @@ function vpn_ipsec_configure($ipchg = false) { //echo "Enabling [VIA Padlock] ..."; //mwexec("/sbin/kldload padlock"); //mwexec("/sbin/sysctl net.inet.ipsec.crypto_support=1"); - //mwexec("/usr/sbin/setkey -F"); - //mwexec("/usr/sbin/setkey -FP"); + //mwexec("/sbin/setkey -F"); + //mwexec("/sbin/setkey -FP"); //echo " done.\n"; } } @@ -142,8 +142,8 @@ function vpn_ipsec_configure($ipchg = false) { } /* flush SPD and SAD */ - mwexec("/usr/sbin/setkey -FP"); - mwexec("/usr/sbin/setkey -F"); + mwexec("/sbin/setkey -FP"); + mwexec("/sbin/setkey -F"); if (isset($ipseccfg['enable'])) { @@ -219,7 +219,7 @@ function vpn_ipsec_configure($ipchg = false) { fclose($fd); /* load SPD */ - mwexec("/usr/sbin/setkey -c < {$g['varetc_path']}/spd.conf"); + mwexec("/sbin/setkey -c < {$g['varetc_path']}/spd.conf"); } /* generate racoon.conf */ |