summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-13 19:14:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-13 19:14:07 +0000
commit65fdf7af43549bfedfa85bdd940ba666d0ab333f (patch)
tree56cc83880e843073bff7277301e30a30e5af938a /etc/inc/vpn.inc
parentad15d563a1738626afb324ed2b57e61f415cd93c (diff)
downloadpfsense-65fdf7af43549bfedfa85bdd940ba666d0ab333f.zip
pfsense-65fdf7af43549bfedfa85bdd940ba666d0ab333f.tar.gz
Only enable Padlock if we find ACE in the dmesg
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc2
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");
OpenPOWER on IntegriCloud