From 96e85395a593c2047c17ff44d1d4baf55928fc23 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Mon, 23 Oct 2006 00:09:48 +0000 Subject: Ticket #1136: Make sure check_reload_status is running so we can regen rules --- etc/inc/filter.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index ff2665c..74c6fca 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -65,6 +65,9 @@ function filter_configure() { echo "filter_configure() being called $mt\n"; } global $g; + /* Make sure that the checker process is running */ + if(!is_process_running("check_reload_status")) + mwexec_bg("/usr/bin/nice -n20 /usr/local/sbin/check_reload_status 2>/dev/null"); touch($g['tmp_path'] . "/filter_dirty"); } @@ -2854,4 +2857,4 @@ function return_vpn_subnet($adr) { } -?> \ No newline at end of file +?> -- cgit v1.1