aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-07 20:55:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-07 20:55:41 +0000
commitdf1e648f075011672f719fd93291485c5f50e37d (patch)
treedcb5ddc6c6aeb49b24e877a1f1451217fdda5de1 /packages/autoconfigbackup
parentdf1e2be39f89e73620efe0ad2a898dfe70b1ea44 (diff)
downloadpfsense-packages-df1e648f075011672f719fd93291485c5f50e37d.tar.gz
pfsense-packages-df1e648f075011672f719fd93291485c5f50e37d.tar.bz2
pfsense-packages-df1e648f075011672f719fd93291485c5f50e37d.zip
Remove filter_configure_sync()
Diffstat (limited to 'packages/autoconfigbackup')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup_backup.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup_backup.php b/packages/autoconfigbackup/autoconfigbackup_backup.php
index 7617f688..50409a76 100644
--- a/packages/autoconfigbackup/autoconfigbackup_backup.php
+++ b/packages/autoconfigbackup/autoconfigbackup_backup.php
@@ -64,10 +64,13 @@ if(!$username) {
if($_POST) {
if($_REQUEST['nooverwrite'])
touch("/tmp/acb_nooverwrite");
+ if($_REQUEST['reason'])
+ write_config($_REQUEST['reason']);
+ else
+ write_config("Backup invoked via Auto Config Backup.");
upload_config();
$savemsg = "Backup completed successfully.";
exec("echo > /cf/conf/lastpfSbackup.txt");
- filter_configure_sync();
$donotshowheader=true;
}