summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_backup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-22 21:15:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-22 21:15:57 +0000
commit1ddc3e2aad490b7d47272d62e41464bfc94edee0 (patch)
tree1146a95735f7d668aad92d8937f31c106e1b405a /usr/local/www/diag_backup.php
parente57f259a8bc38c20ff8a2a3fd6db2e257e37bd86 (diff)
downloadpfsense-1ddc3e2aad490b7d47272d62e41464bfc94edee0.zip
pfsense-1ddc3e2aad490b7d47272d62e41464bfc94edee0.tar.gz
We reboot regardless after configuration change (restore)
Diffstat (limited to 'usr/local/www/diag_backup.php')
-rwxr-xr-xusr/local/www/diag_backup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index 3e57c2d..1ff91fe 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -137,7 +137,7 @@ if ($_POST) {
} else {
restore_config_section($_POST['restorearea'], $rules);
filter_configure();
- $savemsg = "The configuration area has been restored.";
+ $savemsg = "The configuration area has been restored. The firewall is now rebooting.";
}
} else {
$rules = file_get_contents($_FILES['conffile']['tmp_name']);
@@ -167,7 +167,7 @@ if ($_POST) {
}
if(isset($config['captiveportal']['enable'])) {
/* for some reason ipfw doesn't init correctly except on bootup sequence */
- $savemsg = "The configuration has been restored.<p>The firewall is now rebooting due to captive portal.";
+ $savemsg = "The configuration has been restored.<p>The firewall is now rebooting.";
$reboot_needed = true;
}
setup_serial_port();
OpenPOWER on IntegriCloud