diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-24 23:02:21 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-24 23:02:21 +0000 |
commit | 4cf2cc4a299c942c5a1371c294866b0a13cbdba4 (patch) | |
tree | 10ccabbebb7655a9884cea276d63d8e9f3cf21e9 /usr | |
parent | 7f894be6bf327546b63d2cc81ddd6e733e14b59d (diff) | |
download | pfsense-4cf2cc4a299c942c5a1371c294866b0a13cbdba4.zip pfsense-4cf2cc4a299c942c5a1371c294866b0a13cbdba4.tar.gz |
* Drop kick the reboot to the moon!
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_backup.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index 1e0e148..7964f2c 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -142,8 +142,8 @@ if ($_POST) { conf_mount_rw(); touch("/needs_package_sync"); conf_mount_ro(); - system_reboot(); - $savemsg = "The configuration has been restored. The firewall is now rebooting."; + reload_all(); + $savemsg = "The configuration has been restored. The firewall is now reloading the settings."; } else { $input_errors[] = "The configuration could not be restored."; } @@ -159,8 +159,8 @@ if ($_POST) { if ($ver2restore <> "") { $conf_file = "{$g['cf_conf_path']}/bak/config-" . strtotime($ver2restore) . ".xml"; if (config_install($conf_file) == 0) { - system_reboot(); - $savemsg = "The configuration has been restored. The firewall is now rebooting."; + reload_all(); + $savemsg = "The configuration has been restored. The firewall is now reloading the settings."; } else { $input_errors[] = "The configuration could not be restored."; } @@ -232,7 +232,7 @@ include("head.inc"); <input name="Submit" type="submit" class="formbtn" id="restore" value="Restore configuration"> <p> <strong><span class="red">Note:</span></strong><br> - The firewall will reboot after restoring the configuration.<br> + The firewall will reload the settings after restoring the configuration.<br> </td> </tr> <?php if($config['installedpackages']['package'] != "") { ?> |