summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-12 18:23:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-12 18:23:21 +0000
commit5b33809eab8952c2b154c58be2410df7b5151e62 (patch)
tree795ba1009919487ba0310fc7353838de27f3965c /etc
parent1a5eeb97b1bba8de00d1226e144f294ff7c76038 (diff)
downloadpfsense-5b33809eab8952c2b154c58be2410df7b5151e62.zip
pfsense-5b33809eab8952c2b154c58be2410df7b5151e62.tar.gz
Minor style cleanups
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vpn.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index e8a90e5..d9df280 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -87,13 +87,12 @@ function find_last_gif_device() {
function vpn_ipsec_configure($ipchg = false) {
global $config, $g;
-
if($g['booting'] == true) {
/* deterimine if we should load the via padlock module */
$dmesg_boot = file_get_contents("/var/log/dmesg.boot");
if(stristr($dmesg_boot, "Padlock")) {
- echo "[VIA Padlock] ";
- mwexec("/sbin/kldload padlock");
+ echo "[VIA Padlock] ";
+ mwexec("/sbin/kldload padlock");
}
}
OpenPOWER on IntegriCloud