diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-31 23:45:20 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-31 23:45:20 +0000 |
commit | 93f2d54e78e10c181c28e8404e40542fa5847811 (patch) | |
tree | 6ee523a77777f61ed0524a71d1aaba7f4dae2099 | |
parent | 13beee7d5d23cd282ed996b0e9814286408d9ff6 (diff) | |
download | pfsense-93f2d54e78e10c181c28e8404e40542fa5847811.zip pfsense-93f2d54e78e10c181c28e8404e40542fa5847811.tar.gz |
Set /sbin/sysctl net.inet.ipsec.crypto_support=1 if Padlock
-rw-r--r-- | etc/inc/vpn.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index ca881e1..3410384 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -94,9 +94,10 @@ function vpn_ipsec_configure($ipchg = false) { if(stristr($dmesg_boot, "ACE") == true) { echo "Enabling [VIA Padlock] ..."; mwexec("/sbin/kldload padlock"); - //mwexec("/sbin/sysctl net.inet.ipsec.crypto_support=1"); - mwexec("/usr/sbin/setkey -F;/usr/sbin/setkey -FP"); - echo " done."; + mwexec("/sbin/sysctl net.inet.ipsec.crypto_support=1"); + mwexec("/usr/sbin/setkey -F"); + mwexec("/usr/sbin/setkey -FP"); + echo " done.\n"; } } } |