summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-23 19:00:04 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-23 19:00:04 -0400
commit09821234c937e24fbf4b69ca9cdc8d77af3cc6c1 (patch)
tree01f0884c06eccd6994fa42f1d976dadaa7b01ece /usr/local/www
parent70b1def4a3fcc1346923532e8591b158ea3c61f6 (diff)
downloadpfsense-09821234c937e24fbf4b69ca9cdc8d77af3cc6c1.zip
pfsense-09821234c937e24fbf4b69ca9cdc8d77af3cc6c1.tar.gz
Kick off package reinstall after restoring configuration. Resolves #15
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/diag_backup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index 57f5278..50cb6d0 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -275,6 +275,7 @@ if ($_POST) {
touch("/needs_package_sync");
$reboot_needed = true;
$savemsg = "The configuration has been restored. The firewall is now rebooting.";
+ touch("/conf/needs_package_sync");
/* remove cache, we will force a config reboot */
if(file_exists("/tmp/config.cache"))
unlink("/tmp/config.cache");
@@ -314,7 +315,6 @@ 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.";
- touch("/conf/needs_package_sync");
$reboot_needed = true;
}
setup_serial_port();
OpenPOWER on IntegriCloud