diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-14 20:13:26 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-14 20:13:26 +0000 |
commit | b7d4a627e9ced4a1b64a9136c4aed2151ced2751 (patch) | |
tree | 2930158b0c19ed04b36b3cc494693ebb796d1e87 /etc | |
parent | ad7ca08ab6c58b36323ecea1db9dbf2d9cdeca0b (diff) | |
download | pfsense-b7d4a627e9ced4a1b64a9136c4aed2151ced2751.zip pfsense-b7d4a627e9ced4a1b64a9136c4aed2151ced2751.tar.gz |
Query Features line for ACE
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 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"); |