From 0490153f10e92f585f00b5fdf4b87273601dad3c Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 11 Oct 2008 22:32:07 +0000 Subject: Note that a backup occurs when you save the settings. --- packages/autoconfigbackup/autoconfigbackup.php | 2 ++ packages/autoconfigbackup/autoconfigbackup.xml | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'packages/autoconfigbackup') 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 @@ + exec("echo > /cf/conf/lastpfSbackup.txt"); filter_configure(); + if($savemsg) + $savemsg .= "
"; + $savemsg .= "A configuration backup has been queued.";
-- cgit v1.2.3