summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-03-23 18:17:55 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-03-23 18:17:55 -0400
commitf2087c855f3d41c8faee5160404b51b3b06099c7 (patch)
treeffe99540932c6580c1ee23fea4ab4d11da850d23
parent1033de7481dacd83ee5a1a16078e89c7b4e9efd8 (diff)
downloadpfsense-f2087c855f3d41c8faee5160404b51b3b06099c7.zip
pfsense-f2087c855f3d41c8faee5160404b51b3b06099c7.tar.gz
Unbreak ACB
-rw-r--r--etc/inc/config.lib.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc
index 83d5ed2..c1672e2 100644
--- a/etc/inc/config.lib.inc
+++ b/etc/inc/config.lib.inc
@@ -571,6 +571,9 @@ function config_restore($conffile) {
backup_config();
+ // backup_config() will mount RO again when finished.
+ conf_mount_rw();
+
$lockkey = lock('config');
copy($conffile, "{$g['cf_conf_path']}/config.xml");
OpenPOWER on IntegriCloud