summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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