summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-23 18:59:33 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-23 18:59:33 -0400
commit6b773a9f4aa54988de9a37573208c8a7593f0ba3 (patch)
treeec0d9cbcd42b7d0bfcc1bc51c9c7764315156869 /usr/local/www
parent67e0cf87e8efc5403cdb2b2be9cfbcdc4d599008 (diff)
downloadpfsense-6b773a9f4aa54988de9a37573208c8a7593f0ba3.zip
pfsense-6b773a9f4aa54988de9a37573208c8a7593f0ba3.tar.gz
Kick off package reinstall after restoring configuration. Resolves #15
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/diag_backup.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index ef98ffd..4d63e55 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -188,6 +188,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");
OpenPOWER on IntegriCloud