diff options
Diffstat (limited to 'etc/inc/vpn.inc')
-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"; } } } |