diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-04 00:28:29 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-04 00:28:29 +0000 |
commit | 07cd2b4b4bac0086fc4ab5daafcf9c89800a94bb (patch) | |
tree | 73a0d221b87f328453cbecc2157170bafebc47c4 /usr/local/www/diag_backup.php | |
parent | 923e16ed4b70680e9520705ca23a0b9ac4504ff7 (diff) | |
download | pfsense-07cd2b4b4bac0086fc4ab5daafcf9c89800a94bb.zip pfsense-07cd2b4b4bac0086fc4ab5daafcf9c89800a94bb.tar.gz |
Do it in the right order.
Diffstat (limited to 'usr/local/www/diag_backup.php')
-rwxr-xr-x | usr/local/www/diag_backup.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index de26709..44987d8 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -141,10 +141,10 @@ if ($_POST) { /* restore the entire configuration */ if (config_install($_FILES['conffile']['tmp_name']) == 0) { /* this will be picked up by /index.php */ - touch("/needs_package_sync"); conf_mount_rw(); - system_reboot(); + touch("/needs_package_sync"); conf_mount_ro(); + system_reboot(); $savemsg = "The configuration has been restored. The firewall is now rebooting."; } else { $input_errors[] = "The configuration could not be restored."; |