From d6d2afa3e28a3051b39475ec57311b0adeab0f8d Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Wed, 28 May 2014 14:55:16 -0300 Subject: Make sure filesystem is read/write --- config/autoconfigbackup/autoconfigbackup_backup.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/autoconfigbackup') diff --git a/config/autoconfigbackup/autoconfigbackup_backup.php b/config/autoconfigbackup/autoconfigbackup_backup.php index 9ef752fa..78677049 100644 --- a/config/autoconfigbackup/autoconfigbackup_backup.php +++ b/config/autoconfigbackup/autoconfigbackup_backup.php @@ -48,7 +48,9 @@ if($_POST) { else write_config("Backup invoked via Auto Config Backup."); $config = parse_config(true); + conf_mount_rw(); file_put_contents("/cf/conf/lastpfSbackup.txt", ""); + conf_mount_ro(); upload_config($_REQUEST['reason']); $savemsg = "Backup completed successfully."; $donotshowheader=true; -- cgit v1.2.3