diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-14 17:44:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-14 17:44:28 +0000 |
commit | 842bf9f1b1de4f207c6ae31a93178d11e8041c49 (patch) | |
tree | 865e0d8cc192a751d34f57d7c326f255d1830d16 /etc/inc | |
parent | ac24ba5310db47e170aa2dbd5b5ff3b6517f8900 (diff) | |
download | pfsense-842bf9f1b1de4f207c6ae31a93178d11e8041c49.zip pfsense-842bf9f1b1de4f207c6ae31a93178d11e8041c49.tar.gz |
Mount for r/w
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/config.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 2b2bd35..aa09c35 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -200,9 +200,11 @@ function parse_config($parse = false) { ******/ function generate_config_cache($config) { global $g; + conf_mount_rw(); $configcache = fopen($g['tmp_path'] . '/config.cache', "w"); fwrite($configcache, serialize($config)); fclose($configcache); + conf_mount_ro(); return true; } |