diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-27 22:53:21 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-27 22:53:21 +0000 |
commit | 5e9a9ae0214f6d58f8a3ffd9c22910b36f9f0405 (patch) | |
tree | 7abad77371e2aa8fa7f418dfc0c16109db84a3ba | |
parent | 4e7e3dc42271d5ecc7d2a2b260b42283c392a598 (diff) | |
download | pfsense-packages-5e9a9ae0214f6d58f8a3ffd9c22910b36f9f0405.tar.gz pfsense-packages-5e9a9ae0214f6d58f8a3ffd9c22910b36f9f0405.tar.bz2 pfsense-packages-5e9a9ae0214f6d58f8a3ffd9c22910b36f9f0405.zip |
Mount image RW/RO when needed
-rw-r--r-- | packages/autoconfigbackup/autoconfigbackup.inc | 2 |
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 */ |