aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php2
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.xml4
2 files changed, 6 insertions, 0 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php
index 0a47186a..c429db38 100644
--- a/packages/autoconfigbackup/autoconfigbackup.php
+++ b/packages/autoconfigbackup/autoconfigbackup.php
@@ -63,6 +63,8 @@ if(!$username) {
if($_POST['Backup now']) {
write_config("Backup Now invoked via Auto Config Backup.");
$savemsg = "A configuration backup has been queued.";
+ exec("echo > /cf/conf/lastpfSbackup.txt");
+ filter_configure();
}
if($_REQUEST['newver'] != "") {
diff --git a/packages/autoconfigbackup/autoconfigbackup.xml b/packages/autoconfigbackup/autoconfigbackup.xml
index 840ccd85..d4f95af7 100644
--- a/packages/autoconfigbackup/autoconfigbackup.xml
+++ b/packages/autoconfigbackup/autoconfigbackup.xml
@@ -124,7 +124,11 @@
<custom_add_php_command>
</custom_add_php_command>
<custom_php_resync_config_command>
+ exec("echo > /cf/conf/lastpfSbackup.txt");
filter_configure();
+ if($savemsg)
+ $savemsg .= "<br/>";
+ $savemsg .= "A configuration backup has been queued.";
</custom_php_resync_config_command>
<custom_php_install_command>
</custom_php_install_command>