summaryrefslogtreecommitdiffstats
path: root/etc/rc.filter_synchronize
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-12-10 19:13:03 +0000
committerErmal <eri@pfsense.org>2010-12-10 19:13:03 +0000
commit602cb4b00c590e2efcd5a91ea4d7ec2d68c4034b (patch)
treebc11f6c8329b6eeabfe6f2aa6496be6b207006e0 /etc/rc.filter_synchronize
parent52a93b82398c79c80418e5651ff0d12c1e3b2421 (diff)
downloadpfsense-602cb4b00c590e2efcd5a91ea4d7ec2d68c4034b.zip
pfsense-602cb4b00c590e2efcd5a91ea4d7ec2d68c4034b.tar.gz
Leave a notice for this as well.
Diffstat (limited to 'etc/rc.filter_synchronize')
-rwxr-xr-xetc/rc.filter_synchronize2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize
index 0d9ee01..0a8316b 100755
--- a/etc/rc.filter_synchronize
+++ b/etc/rc.filter_synchronize
@@ -118,6 +118,7 @@ function carp_check_version($url, $password, $port = 80, $method = 'pfsense.host
if (trim($parsed_response) == "Authentication failed") {
$error = "A authentication failure occurred while trying to access {$url}:{$port} ({$method}).";
log_error($error);
+ file_notice("sync_settings", $error, "Settings Sync", "");
exit;
}
} else {
@@ -253,6 +254,7 @@ function carp_sync_xml($url, $password, $sections, $port = 80, $method = 'pfsens
if(!is_array($parsed_response) && trim($parsed_repsonse) == "Authentication failed") {
$error = "A authentication failure occurred while trying to access {$url}:{$port} ($method).";
log_error($error);
+ file_notice("sync_settings", $error, "Settings Sync", "");
exit;
} else
log_error("XMLRPC sync successfully completed with {$url}:{$port}.");
OpenPOWER on IntegriCloud