aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/autoconfigbackup.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/autoconfigbackup/autoconfigbackup.inc')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.inc b/packages/autoconfigbackup/autoconfigbackup.inc
index 0ea2f18e..e2062ea8 100644
--- a/packages/autoconfigbackup/autoconfigbackup.inc
+++ b/packages/autoconfigbackup/autoconfigbackup.inc
@@ -125,7 +125,9 @@ function upload_config() {
$notice_text .= "Please correct this in Diagnostics -> AutoConfigBackup -> Settings.";
log_error($notice_text);
file_notice("AutoConfigBackup", $notice_text, $notice_text, "");
+ conf_mount_rw();
touch("/cf/conf/autoconfigback.notice");
+ conf_mount_ro();
}
} else {
/* If configuration has changed, upload to pfS */