diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-12-08 03:12:27 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-12-08 03:12:27 +0000 |
commit | fa1c284cd6fb9e61ae6a4516606bf00512d20c6a (patch) | |
tree | c780463a880add45d3fd41a77b3e7e0ccb40073b /packages/autoconfigbackup | |
parent | 9223e5b014bd1e830d276f81e0cc63dc6e9701a5 (diff) | |
download | pfsense-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.php | 2 |
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; } |