summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-14 20:13:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-14 20:13:26 +0000
commitb7d4a627e9ced4a1b64a9136c4aed2151ced2751 (patch)
tree2930158b0c19ed04b36b3cc494693ebb796d1e87 /etc/inc/vpn.inc
parentad7ca08ab6c58b36323ecea1db9dbf2d9cdeca0b (diff)
downloadpfsense-b7d4a627e9ced4a1b64a9136c4aed2151ced2751.zip
pfsense-b7d4a627e9ced4a1b64a9136c4aed2151ced2751.tar.gz
Query Features line for ACE
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 0809aea..59b614e 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -89,7 +89,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");
+ $dmesg_boot = `cat /var/log/dmesg.boot | grep Features`;
if(stristr($dmesg_boot, "ACE") == true) {
echo "Enabling [VIA Padlock] ...";
mwexec("/sbin/kldload padlock");
OpenPOWER on IntegriCloud