diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-11 23:52:38 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-11 23:52:38 +0000 |
commit | d29eeb16541f0355098d8bc1ef15e3477d21393e (patch) | |
tree | 941e67b905963ef4e953558b53335839c25346e4 /packages/autoconfigbackup/autoconfigbackup.php | |
parent | 001caa59ec8d9e014991325863dfe231d31346d5 (diff) | |
download | pfsense-packages-d29eeb16541f0355098d8bc1ef15e3477d21393e.tar.gz pfsense-packages-d29eeb16541f0355098d8bc1ef15e3477d21393e.tar.bz2 pfsense-packages-d29eeb16541f0355098d8bc1ef15e3477d21393e.zip |
Do not queue backup, just invoke it.
Diffstat (limited to 'packages/autoconfigbackup/autoconfigbackup.php')
-rw-r--r-- | packages/autoconfigbackup/autoconfigbackup.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php index c3d4727e..674aa622 100644 --- a/packages/autoconfigbackup/autoconfigbackup.php +++ b/packages/autoconfigbackup/autoconfigbackup.php @@ -61,10 +61,10 @@ if(!$username) { } if($_POST['backup']) { - write_config("Backup Now invoked via Auto Config Backup."); - $savemsg = "A configuration backup has been queued."; + write_config("Backup invoked via Auto Config Backup."); + $savemsg = "Backup completed successfully."; exec("echo > /cf/conf/lastpfSbackup.txt"); - filter_configure(); + filter_configure_sync(); } if($_REQUEST['newver'] != "") { @@ -201,7 +201,7 @@ include("head.inc"); </td></tr> <tr><td> <form method="post" action="autoconfigbackup.php"> - <input type="submit" name="backup" value="Backup"> + <input type="submit" name="backup" value="Backup Now"> </form> </td></tr> </tr> |