diff options
author | Ermal <eri@pfsense.org> | 2010-12-06 10:08:30 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-12-06 10:08:30 +0000 |
commit | 847cd48d7d0eeb5242702901d042347fc1902012 (patch) | |
tree | d039ad5132b3fe79fce7d2044872f8ff0d632ac1 /etc/inc/openvpn.inc | |
parent | 831a5ff7caa3c434e145b00d3b0bd75b194696d6 (diff) | |
download | pfsense-847cd48d7d0eeb5242702901d042347fc1902012.zip pfsense-847cd48d7d0eeb5242702901d042347fc1902012.tar.gz |
Do not spam filter reload at boot.
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r-- | etc/inc/openvpn.inc | 4 |
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) { |