summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-15 22:36:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-15 22:36:04 +0000
commit47ce7fe8a58a90b1659e47a8122e102051bc143b (patch)
treee9cf6a80805931b969191d8280e598d736a1c8f4 /usr
parent1c2497942d5923331d8e735a7f79a851197efb01 (diff)
downloadpfsense-47ce7fe8a58a90b1659e47a8122e102051bc143b.zip
pfsense-47ce7fe8a58a90b1659e47a8122e102051bc143b.tar.gz
Alert user that a upgrade is in progress.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/system_firmware.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index 85d7f87..d7e8401 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -34,6 +34,19 @@ $d_isfwfile = 1;
require_once("guiconfig.inc");
require_once("xmlrpc_client.inc");
+/* if upgrade in progress, alert user */
+if(file_exists($d_firmwarelock_path)) {
+ $pgtitle = "System: Firmware: Manual Update";
+ include("head.inc");
+ echo "<body link=\"#0000CC\" vlink=\"#0000CC\" alink=\"#0000CC\">";
+ include("fbegin.inc");
+ echo "<p class=\"pgtitle\"><?=$pgtitle?></p>";
+ echo "A upgrade is currently in progress.";
+ include("fend.inc");
+ echo "</body>";
+ echo "</html>";
+}
+
/* Handle manual upgrade */
if ($_POST && !file_exists($d_firmwarelock_path)) {
OpenPOWER on IntegriCloud