diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-10 00:02:45 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-10 00:02:45 +0000 |
commit | 14e56d9c2fc0bd76194e3e8bc50c1a6cfbc0dabd (patch) | |
tree | 5cd1fcd6204177bfbf424919c29edfb4b683c33d /usr/local/www | |
parent | 9e0b5b97b4a1b6dfee0d2dc8fe68887177ce4fb5 (diff) | |
download | pfsense-14e56d9c2fc0bd76194e3e8bc50c1a6cfbc0dabd.zip pfsense-14e56d9c2fc0bd76194e3e8bc50c1a6cfbc0dabd.tar.gz |
Do not mount ro too early
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/diag_backup.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index ace713a..62fafee 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -151,7 +151,7 @@ if ($_POST) { /* this will be picked up by /index.php */ conf_mount_rw(); touch("/needs_package_sync"); - conf_mount_ro(); + $reloadall = true; $savemsg = "The configuration has been restored. The firewall is now rebooting."; /* remove cache, we will force a config reload */ @@ -167,6 +167,7 @@ if ($_POST) { unset($config['shaper']); } write_config(); + conf_mount_ro(); } else { $input_errors[] = "The configuration could not be restored."; } |