aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-05-28 14:47:32 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-05-28 14:47:32 -0300
commit0dba589de0f7f08ce1bec83d211204cbad670509 (patch)
tree03db05e2628002d8fe696d932c1c7e89ea09b4fb /config
parent43ada8b18995da67474cc5e7f155d23c30b2e9a0 (diff)
downloadpfsense-packages-0dba589de0f7f08ce1bec83d211204cbad670509.tar.gz
pfsense-packages-0dba589de0f7f08ce1bec83d211204cbad670509.tar.bz2
pfsense-packages-0dba589de0f7f08ce1bec83d211204cbad670509.zip
Make sure filesystem is read/write
Diffstat (limited to 'config')
-rw-r--r--config/autoconfigbackup/autoconfigbackup.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/autoconfigbackup/autoconfigbackup.xml b/config/autoconfigbackup/autoconfigbackup.xml
index 1e5d44c1..f3505f6a 100644
--- a/config/autoconfigbackup/autoconfigbackup.xml
+++ b/config/autoconfigbackup/autoconfigbackup.xml
@@ -144,7 +144,9 @@
</custom_php_validation_command>
<custom_php_resync_config_command>
<![CDATA[
+ conf_mount_rw();
exec("echo > /cf/conf/lastpfSbackup.txt");
+ conf_mount_ro();
if(!function_exists("filter_configure"))
require_once("filter.inc");
filter_configure();