From 35027c776834e747460e8fb0a1db478aabe44a56 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 15 Oct 2009 14:54:42 -0400 Subject: Call conf_mount_rw() before restore --- config/autoconfigbackup/autoconfigbackup.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/autoconfigbackup/autoconfigbackup.php b/config/autoconfigbackup/autoconfigbackup.php index f0c5741d..e43620c4 100644 --- a/config/autoconfigbackup/autoconfigbackup.php +++ b/config/autoconfigbackup/autoconfigbackup.php @@ -221,6 +221,7 @@ function get_hostnames() { curl_close($curl_session); } if(!$input_errors && $data) { + conf_mount_rw(); if(config_restore("/tmp/config_restore.xml") == 0) { $savemsg = "Successfully reverted the pfSense configuration to revision " . urldecode($_REQUEST['newver']) . "."; $savemsg .= <<