summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index b7b596a..0809aea 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -91,10 +91,11 @@ function vpn_ipsec_configure($ipchg = false) {
/* determine if we should load the via padlock module */
$dmesg_boot = file_get_contents("/var/log/dmesg.boot");
if(stristr($dmesg_boot, "ACE") == true) {
- echo "[VIA Padlock] ";
+ echo "Enabling [VIA Padlock] ...";
mwexec("/sbin/kldload padlock");
mwexec("/sbin/sysctl net.inet.ipsec.crypto_support=1");
mwexec("/usr/sbin/setkey -F;/usr/sbin/setkey -FP");
+ echo " done.";
}
}
OpenPOWER on IntegriCloud