summaryrefslogtreecommitdiffstats
path: root/etc/rc.filter_synchronize
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-09-05 16:36:41 +0000
committerErmal Luçi <eri@pfsense.org>2009-09-05 16:36:41 +0000
commit36df510dd649ca76be41689c77948678c430459e (patch)
tree93ac7dcb662409a8fefcbbf1929f4a6910d33208 /etc/rc.filter_synchronize
parent9813a1547a0f72bdb0a87702f0403ceda9cd0027 (diff)
downloadpfsense-36df510dd649ca76be41689c77948678c430459e.zip
pfsense-36df510dd649ca76be41689c77948678c430459e.tar.gz
Send a notify message only when really the synchronize is being done
Diffstat (limited to 'etc/rc.filter_synchronize')
-rw-r--r--etc/rc.filter_synchronize4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize
index f9d94d7..519482b 100644
--- a/etc/rc.filter_synchronize
+++ b/etc/rc.filter_synchronize
@@ -188,8 +188,8 @@ function carp_sync_xml($url, $password, $sections, $port = 80, $method = 'pfsens
if ($g['booting'])
return;
-update_filter_reload_status("Building CARP sync information");
if (is_array($config['installedpackages']['carpsettings']['config'])) {
+ update_filter_reload_status("Building CARP sync information");
foreach($config['installedpackages']['carpsettings']['config'] as $carp) {
if ($carp['synchronizetoip'] != "" ) {
/*
@@ -250,4 +250,4 @@ if (is_array($config['installedpackages']['carpsettings']['config'])) {
}
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud