summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-13 22:10:46 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-13 22:10:46 +0000
commitc9c1bb3b5cface9d3d393f3d51b314623271f44c (patch)
tree5490f5d1f20989fdafb7426eb0b57cd92ad631a4 /etc/inc/vpn.inc
parent48f9d64f08071a70bd68244d8cfc564046f9c10f (diff)
downloadpfsense-c9c1bb3b5cface9d3d393f3d51b314623271f44c.zip
pfsense-c9c1bb3b5cface9d3d393f3d51b314623271f44c.tar.gz
Echo out when enabling padlock
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