diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-15 22:36:04 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-15 22:36:04 +0000 |
commit | 47ce7fe8a58a90b1659e47a8122e102051bc143b (patch) | |
tree | e9cf6a80805931b969191d8280e598d736a1c8f4 /usr | |
parent | 1c2497942d5923331d8e735a7f79a851197efb01 (diff) | |
download | pfsense-47ce7fe8a58a90b1659e47a8122e102051bc143b.zip pfsense-47ce7fe8a58a90b1659e47a8122e102051bc143b.tar.gz |
Alert user that a upgrade is in progress.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_firmware.php | 13 |
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)) { |