summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_backup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-23 00:13:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-23 00:13:14 +0000
commitfaeb7cdd0ddb69f5d2eea33168ea0857c2bf7dd0 (patch)
tree46aa737822287a481121cae54bf27af7628b4997 /usr/local/www/diag_backup.php
parent7bde0bb14b0ed88f067d8374b3a7b8a8989fbc53 (diff)
downloadpfsense-faeb7cdd0ddb69f5d2eea33168ea0857c2bf7dd0.zip
pfsense-faeb7cdd0ddb69f5d2eea33168ea0857c2bf7dd0.tar.gz
Reboot after 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 51f87f5..c416dd1 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -151,7 +151,7 @@ if ($_POST) {
touch("/needs_package_sync");
conf_mount_ro();
$reloadall = true;
- $savemsg = "The configuration has been restored. The firewall is now reloading the settings.";
+ $savemsg = "The configuration has been restored. The firewall is now rebooting.";
} else {
$input_errors[] = "The configuration could not be restored.";
}
@@ -267,7 +267,7 @@ include("head.inc");
<?php
if($reloadall == true) {
- reload_all();
+ mwexec("/etc/rc.reboot");
}
?>
OpenPOWER on IntegriCloud