aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup
diff options
context:
space:
mode:
Diffstat (limited to 'packages/autoconfigbackup')
-rw-r--r--packages/autoconfigbackup/upload_config_filter.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/autoconfigbackup/upload_config_filter.php b/packages/autoconfigbackup/upload_config_filter.php
index 3433dd85..83c3040b 100644
--- a/packages/autoconfigbackup/upload_config_filter.php
+++ b/packages/autoconfigbackup/upload_config_filter.php
@@ -32,6 +32,7 @@ if($last_backup_date <> $last_config_change) {
config_lock();
log_error("Beginning portal.pfsense.org configuration backup.");
+ update_filter_reload_status("Beginning portal.pfsense.org configuration backup.");
// Encrypt config.xml
$data = file_get_contents("/cf/conf/config.xml");
@@ -75,8 +76,10 @@ if($last_backup_date <> $last_config_change) {
if(!strstr($data, "500")) {
log_error("An error occured while uploading your pfSense configuration to portal.pfsense.org ($data)");
file_notice("autoconfigurationbackup", "An error occured while uploading your pfSense configuration to portal.pfsense.org", $data, "");
+ update_filter_reload_status("An error occured while uploading your pfSense configuration to portal.pfsense.org - $data");
} else {
log_error("End of portal.pfsense.org configuration backup (success).");
+ update_filter_reload_status("End of portal.pfsense.org configuration backup (success).");
}
// Unlock config