summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-12-06 10:08:30 +0000
committerErmal <eri@pfsense.org>2010-12-06 10:08:30 +0000
commit847cd48d7d0eeb5242702901d042347fc1902012 (patch)
treed039ad5132b3fe79fce7d2044872f8ff0d632ac1 /etc/inc
parent831a5ff7caa3c434e145b00d3b0bd75b194696d6 (diff)
downloadpfsense-847cd48d7d0eeb5242702901d042347fc1902012.zip
pfsense-847cd48d7d0eeb5242702901d042347fc1902012.tar.gz
Do not spam filter reload at boot.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/openvpn.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index bd46227..234f756 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -577,7 +577,9 @@ function openvpn_restart($mode, & $settings) {
/* start the new process */
$fpath = $g['varetc_path']."/openvpn/{$mode_id}.conf";
mwexec_bg("nohup openvpn --config {$fpath}");
- send_event("filter reload");
+
+ if (!$g['booting'])
+ send_event("filter reload");
}
function openvpn_delete($mode, & $settings) {
OpenPOWER on IntegriCloud