diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-13 19:14:07 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-13 19:14:07 +0000 |
commit | 65fdf7af43549bfedfa85bdd940ba666d0ab333f (patch) | |
tree | 56cc83880e843073bff7277301e30a30e5af938a /etc | |
parent | ad15d563a1738626afb324ed2b57e61f415cd93c (diff) | |
download | pfsense-65fdf7af43549bfedfa85bdd940ba666d0ab333f.zip pfsense-65fdf7af43549bfedfa85bdd940ba666d0ab333f.tar.gz |
Only enable Padlock if we find ACE in the dmesg
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index a4e19fe..eebe31f 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -90,7 +90,7 @@ function vpn_ipsec_configure($ipchg = false) { if($g['booting'] == true) { /* determine if we should load the via padlock module */ $dmesg_boot = file_get_contents("/var/log/dmesg.boot"); - if(stristr($dmesg_boot, "ACE")) { + if(stristr($dmesg_boot, "ACE") == true) { echo "[VIA Padlock] "; mwexec("/sbin/kldload padlock"); mwexec("sysctl net.inet.ipsec.crypto_support=1"); |