aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-08 03:12:27 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-08 03:12:27 +0000
commitfa1c284cd6fb9e61ae6a4516606bf00512d20c6a (patch)
treec780463a880add45d3fd41a77b3e7e0ccb40073b /packages/autoconfigbackup
parent9223e5b014bd1e830d276f81e0cc63dc6e9701a5 (diff)
downloadpfsense-packages-fa1c284cd6fb9e61ae6a4516606bf00512d20c6a.tar.gz
pfsense-packages-fa1c284cd6fb9e61ae6a4516606bf00512d20c6a.tar.bz2
pfsense-packages-fa1c284cd6fb9e61ae6a4516606bf00512d20c6a.zip
Reset lastpfSbackup.txt before force backup
Diffstat (limited to 'packages/autoconfigbackup')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup_backup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup_backup.php b/packages/autoconfigbackup/autoconfigbackup_backup.php
index 44d213ea..9b083a24 100644
--- a/packages/autoconfigbackup/autoconfigbackup_backup.php
+++ b/packages/autoconfigbackup/autoconfigbackup_backup.php
@@ -68,9 +68,9 @@ if($_POST) {
write_config($_REQUEST['reason']);
else
write_config("Backup invoked via Auto Config Backup.");
+ exec("echo > /cf/conf/lastpfSbackup.txt");
upload_config();
$savemsg = "Backup completed successfully.";
- exec("echo > /cf/conf/lastpfSbackup.txt");
$donotshowheader=true;
}