From c7c5bffbf9cb75297ae26187c5a4d6beb0156253 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 19 Oct 2008 03:43:51 +0000 Subject: Axe the user if they would like to reboot after restore. --- packages/autoconfigbackup/autoconfigbackup.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php index 10ec7ac0..fc12785e 100644 --- a/packages/autoconfigbackup/autoconfigbackup.php +++ b/packages/autoconfigbackup/autoconfigbackup.php @@ -96,6 +96,15 @@ if($_REQUEST['newver'] != "") { if(!$input_errors && $data) { if(config_restore("/tmp/config_restore.xml") == 0) { $savemsg = "Successfully reverted the pfSense configuration to timestamp " . urldecode($_REQUEST['newver']) . "."; + $savemsg .= << +
+ Would you like to reboot? + + +
+EOF; + } else { $savemsg = "Unable to revert to the selected configuration."; } -- cgit v1.2.3